Subversion Repositories AndroidProjects

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
356 chris 1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2
<!--NewPage-->
3
<HTML>
4
<HEAD>
5
<!-- Generated by javadoc (build 1.6.0_26) on Sun Jan 27 20:37:04 CET 2013 -->
6
<TITLE>
7
Net.HttpStatus (libgdx API)
8
</TITLE>
9
 
10
<META NAME="date" CONTENT="2013-01-27">
11
 
12
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
13
 
14
<SCRIPT type="text/javascript">
15
function windowTitle()
16
{
17
    if (location.href.indexOf('is-external=true') == -1) {
18
        parent.document.title="Net.HttpStatus (libgdx API)";
19
    }
20
}
21
</SCRIPT>
22
<NOSCRIPT>
23
</NOSCRIPT>
24
 
25
</HEAD>
26
 
27
<BODY BGCOLOR="white" onload="windowTitle();">
28
<HR>
29
 
30
 
31
<!-- ========= START OF TOP NAVBAR ======= -->
32
<A NAME="navbar_top"><!-- --></A>
33
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
34
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
35
<TR>
36
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
37
<A NAME="navbar_top_firstrow"><!-- --></A>
38
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
39
  <TR ALIGN="center" VALIGN="top">
40
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
41
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
42
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
43
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/Net.HttpStatus.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
44
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
45
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
46
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
47
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
48
  </TR>
49
</TABLE>
50
</TD>
51
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
52
 
53
                                libgdx API
54
                                <style>
55
                                body, td, th { font-family:Helvetica, Tahoma, Arial, sans-serif; font-size:10pt }
56
                                pre, code, tt { font-size:9pt; font-family:Lucida Console, Courier New, sans-serif }
57
                                h1, h2, h3, .FrameTitleFont, .FrameHeadingFont, .TableHeadingColor font { font-size:105%;  font-weight:bold }
58
                                .TableHeadingColor { background:#EEEEFF; }
59
                                a { text-decoration:none }
60
                                a:hover { text-decoration:underline }
61
                                a:link, a:visited { color:blue }
62
                                table { border:0px }
63
                                .TableRowColor td:first-child { border-left:1px solid black }
64
                                .TableRowColor td { border:0px; border-bottom:1px solid black; border-right:1px solid black }
65
                                hr { border:0px; border-bottom:1px solid #333366; }
66
                                </style>
67
                        </EM>
68
</TD>
69
</TR>
70
 
71
<TR>
72
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
73
&nbsp;<A HREF="../../../com/badlogic/gdx/Net.HttpResponseListener.html" title="interface in com.badlogic.gdx"><B>PREV CLASS</B></A>&nbsp;
74
&nbsp;<A HREF="../../../com/badlogic/gdx/Net.Protocol.html" title="enum in com.badlogic.gdx"><B>NEXT CLASS</B></A></FONT></TD>
75
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
76
  <A HREF="../../../index.html?com/badlogic/gdx/Net.HttpStatus.html" target="_top"><B>FRAMES</B></A>  &nbsp;
77
&nbsp;<A HREF="Net.HttpStatus.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
78
&nbsp;<SCRIPT type="text/javascript">
79
  <!--
80
  if(window==top) {
81
    document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
82
  }
83
  //-->
84
</SCRIPT>
85
<NOSCRIPT>
86
  <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
87
</NOSCRIPT>
88
 
89
 
90
</FONT></TD>
91
</TR>
92
<TR>
93
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
94
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
95
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
96
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
97
</TR>
98
</TABLE>
99
<A NAME="skip-navbar_top"></A>
100
<!-- ========= END OF TOP NAVBAR ========= -->
101
 
102
<HR>
103
<!-- ======== START OF CLASS DATA ======== -->
104
<H2>
105
<FONT SIZE="-1">
106
com.badlogic.gdx</FONT>
107
<BR>
108
Class Net.HttpStatus</H2>
109
<PRE>
110
java.lang.Object
111
  <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>com.badlogic.gdx.Net.HttpStatus</B>
112
</PRE>
113
<DL>
114
<DT><B>Enclosing interface:</B><DD><A HREF="../../../com/badlogic/gdx/Net.html" title="interface in com.badlogic.gdx">Net</A></DD>
115
</DL>
116
<HR>
117
<DL>
118
<DT><PRE>public static class <B>Net.HttpStatus</B><DT>extends java.lang.Object</DL>
119
</PRE>
120
 
121
<P>
122
Contains information about the HTTP status line returned with the <A HREF="../../../com/badlogic/gdx/Net.HttpResponse.html" title="interface in com.badlogic.gdx"><CODE>Net.HttpResponse</CODE></A> after a <A HREF="../../../com/badlogic/gdx/Net.HttpRequest.html" title="class in com.badlogic.gdx"><CODE>Net.HttpRequest</CODE></A> was
123
 performed.
124
<P>
125
 
126
<P>
127
<HR>
128
 
129
<P>
130
 
131
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
132
 
133
<A NAME="constructor_summary"><!-- --></A>
134
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
135
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
136
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
137
<B>Constructor Summary</B></FONT></TH>
138
</TR>
139
<TR BGCOLOR="white" CLASS="TableRowColor">
140
<TD><CODE><B><A HREF="../../../com/badlogic/gdx/Net.HttpStatus.html#Net.HttpStatus(int)">Net.HttpStatus</A></B>(int&nbsp;statusCode)</CODE>
141
 
142
<BR>
143
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
144
</TR>
145
</TABLE>
146
&nbsp;
147
<!-- ========== METHOD SUMMARY =========== -->
148
 
149
<A NAME="method_summary"><!-- --></A>
150
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
151
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
152
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
153
<B>Method Summary</B></FONT></TH>
154
</TR>
155
<TR BGCOLOR="white" CLASS="TableRowColor">
156
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
157
<CODE>&nbsp;int</CODE></FONT></TD>
158
<TD><CODE><B><A HREF="../../../com/badlogic/gdx/Net.HttpStatus.html#getStatusCode()">getStatusCode</A></B>()</CODE>
159
 
160
<BR>
161
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the status code of the HTTP response, normally 2xx status codes indicate success while 4xx and 5xx indicate
162
 client and server errors, respectively (see <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html">HTTP/1.1:
163
 Status Code Definitions</a> for more information about HTTP status codes).</TD>
164
</TR>
165
</TABLE>
166
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
167
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
168
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
169
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
170
</TR>
171
<TR BGCOLOR="white" CLASS="TableRowColor">
172
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
173
</TR>
174
</TABLE>
175
&nbsp;
176
<P>
177
 
178
<!-- ========= CONSTRUCTOR DETAIL ======== -->
179
 
180
<A NAME="constructor_detail"><!-- --></A>
181
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
182
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
183
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
184
<B>Constructor Detail</B></FONT></TH>
185
</TR>
186
</TABLE>
187
 
188
<A NAME="Net.HttpStatus(int)"><!-- --></A><H3>
189
Net.HttpStatus</H3>
190
<PRE>
191
public <B>Net.HttpStatus</B>(int&nbsp;statusCode)</PRE>
192
<DL>
193
</DL>
194
 
195
<!-- ============ METHOD DETAIL ========== -->
196
 
197
<A NAME="method_detail"><!-- --></A>
198
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
199
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
200
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
201
<B>Method Detail</B></FONT></TH>
202
</TR>
203
</TABLE>
204
 
205
<A NAME="getStatusCode()"><!-- --></A><H3>
206
getStatusCode</H3>
207
<PRE>
208
public int <B>getStatusCode</B>()</PRE>
209
<DL>
210
<DD>Returns the status code of the HTTP response, normally 2xx status codes indicate success while 4xx and 5xx indicate
211
 client and server errors, respectively (see <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html">HTTP/1.1:
212
 Status Code Definitions</a> for more information about HTTP status codes).
213
<P>
214
<DD><DL>
215
</DL>
216
</DD>
217
</DL>
218
<!-- ========= END OF CLASS DATA ========= -->
219
<HR>
220
 
221
 
222
<!-- ======= START OF BOTTOM NAVBAR ====== -->
223
<A NAME="navbar_bottom"><!-- --></A>
224
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
225
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
226
<TR>
227
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
228
<A NAME="navbar_bottom_firstrow"><!-- --></A>
229
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
230
  <TR ALIGN="center" VALIGN="top">
231
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
232
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
233
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
234
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/Net.HttpStatus.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
235
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
236
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
237
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
238
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
239
  </TR>
240
</TABLE>
241
</TD>
242
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
243
libgdx API</EM>
244
</TD>
245
</TR>
246
 
247
<TR>
248
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
249
&nbsp;<A HREF="../../../com/badlogic/gdx/Net.HttpResponseListener.html" title="interface in com.badlogic.gdx"><B>PREV CLASS</B></A>&nbsp;
250
&nbsp;<A HREF="../../../com/badlogic/gdx/Net.Protocol.html" title="enum in com.badlogic.gdx"><B>NEXT CLASS</B></A></FONT></TD>
251
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
252
  <A HREF="../../../index.html?com/badlogic/gdx/Net.HttpStatus.html" target="_top"><B>FRAMES</B></A>  &nbsp;
253
&nbsp;<A HREF="Net.HttpStatus.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
254
&nbsp;<SCRIPT type="text/javascript">
255
  <!--
256
  if(window==top) {
257
    document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
258
  }
259
  //-->
260
</SCRIPT>
261
<NOSCRIPT>
262
  <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
263
</NOSCRIPT>
264
 
265
 
266
</FONT></TD>
267
</TR>
268
<TR>
269
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
270
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
271
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
272
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
273
</TR>
274
</TABLE>
275
<A NAME="skip-navbar_bottom"></A>
276
<!-- ======== END OF BOTTOM NAVBAR ======= -->
277
 
278
<HR>
279
 
280
                                <div style="font-size:9pt"><i>
281
                                Copyright 2010 Mario Zechner (contact@badlogicgames.com), Nathan Sweet (admin@esotericsoftware.com)
282
                                </i></div>
283
 
284
</BODY>
285
</HTML>