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
HttpParametersUtils (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="HttpParametersUtils (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/HttpParametersUtils.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/Graphics.GraphicsType.html" title="enum in com.badlogic.gdx"><B>PREV CLASS</B></A>&nbsp;
74
&nbsp;<A HREF="../../../com/badlogic/gdx/Input.html" title="interface 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/HttpParametersUtils.html" target="_top"><B>FRAMES</B></A>  &nbsp;
77
&nbsp;<A HREF="HttpParametersUtils.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;<A HREF="#field_summary">FIELD</A>&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;<A HREF="#field_detail">FIELD</A>&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 HttpParametersUtils</H2>
109
<PRE>
110
java.lang.Object
111
  <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>com.badlogic.gdx.HttpParametersUtils</B>
112
</PRE>
113
<HR>
114
<DL>
115
<DT><PRE>public class <B>HttpParametersUtils</B><DT>extends java.lang.Object</DL>
116
</PRE>
117
 
118
<P>
119
Provides utility methods to work with the <A HREF="../../../com/badlogic/gdx/Net.HttpRequest.html" title="class in com.badlogic.gdx"><CODE>Net.HttpRequest</CODE></A> content and parameters.
120
<P>
121
 
122
<P>
123
<HR>
124
 
125
<P>
126
<!-- =========== FIELD SUMMARY =========== -->
127
 
128
<A NAME="field_summary"><!-- --></A>
129
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
130
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
131
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
132
<B>Field Summary</B></FONT></TH>
133
</TR>
134
<TR BGCOLOR="white" CLASS="TableRowColor">
135
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
136
<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
137
<TD><CODE><B><A HREF="../../../com/badlogic/gdx/HttpParametersUtils.html#defaultEncoding">defaultEncoding</A></B></CODE>
138
 
139
<BR>
140
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
141
</TR>
142
<TR BGCOLOR="white" CLASS="TableRowColor">
143
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
144
<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
145
<TD><CODE><B><A HREF="../../../com/badlogic/gdx/HttpParametersUtils.html#nameValueSeparator">nameValueSeparator</A></B></CODE>
146
 
147
<BR>
148
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
149
</TR>
150
<TR BGCOLOR="white" CLASS="TableRowColor">
151
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
152
<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
153
<TD><CODE><B><A HREF="../../../com/badlogic/gdx/HttpParametersUtils.html#parameterSeparator">parameterSeparator</A></B></CODE>
154
 
155
<BR>
156
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
157
</TR>
158
</TABLE>
159
&nbsp;
160
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
161
 
162
<A NAME="constructor_summary"><!-- --></A>
163
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
164
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
165
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
166
<B>Constructor Summary</B></FONT></TH>
167
</TR>
168
<TR BGCOLOR="white" CLASS="TableRowColor">
169
<TD><CODE><B><A HREF="../../../com/badlogic/gdx/HttpParametersUtils.html#HttpParametersUtils()">HttpParametersUtils</A></B>()</CODE>
170
 
171
<BR>
172
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
173
</TR>
174
</TABLE>
175
&nbsp;
176
<!-- ========== METHOD SUMMARY =========== -->
177
 
178
<A NAME="method_summary"><!-- --></A>
179
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
180
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
181
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
182
<B>Method Summary</B></FONT></TH>
183
</TR>
184
<TR BGCOLOR="white" CLASS="TableRowColor">
185
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
186
<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
187
<TD><CODE><B><A HREF="../../../com/badlogic/gdx/HttpParametersUtils.html#convertHttpParameters(java.util.Map)">convertHttpParameters</A></B>(java.util.Map&lt;java.lang.String,java.lang.String&gt;&nbsp;parameters)</CODE>
188
 
189
<BR>
190
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Useful method to convert a map of key,value pairs to a String to be used as part of a GET or POST content.</TD>
191
</TR>
192
</TABLE>
193
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
194
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
195
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
196
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
197
</TR>
198
<TR BGCOLOR="white" CLASS="TableRowColor">
199
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
200
</TR>
201
</TABLE>
202
&nbsp;
203
<P>
204
 
205
<!-- ============ FIELD DETAIL =========== -->
206
 
207
<A NAME="field_detail"><!-- --></A>
208
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
209
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
210
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
211
<B>Field Detail</B></FONT></TH>
212
</TR>
213
</TABLE>
214
 
215
<A NAME="defaultEncoding"><!-- --></A><H3>
216
defaultEncoding</H3>
217
<PRE>
218
public static java.lang.String <B>defaultEncoding</B></PRE>
219
<DL>
220
<DL>
221
</DL>
222
</DL>
223
<HR>
224
 
225
<A NAME="nameValueSeparator"><!-- --></A><H3>
226
nameValueSeparator</H3>
227
<PRE>
228
public static java.lang.String <B>nameValueSeparator</B></PRE>
229
<DL>
230
<DL>
231
</DL>
232
</DL>
233
<HR>
234
 
235
<A NAME="parameterSeparator"><!-- --></A><H3>
236
parameterSeparator</H3>
237
<PRE>
238
public static java.lang.String <B>parameterSeparator</B></PRE>
239
<DL>
240
<DL>
241
</DL>
242
</DL>
243
 
244
<!-- ========= CONSTRUCTOR DETAIL ======== -->
245
 
246
<A NAME="constructor_detail"><!-- --></A>
247
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
248
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
249
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
250
<B>Constructor Detail</B></FONT></TH>
251
</TR>
252
</TABLE>
253
 
254
<A NAME="HttpParametersUtils()"><!-- --></A><H3>
255
HttpParametersUtils</H3>
256
<PRE>
257
public <B>HttpParametersUtils</B>()</PRE>
258
<DL>
259
</DL>
260
 
261
<!-- ============ METHOD DETAIL ========== -->
262
 
263
<A NAME="method_detail"><!-- --></A>
264
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
265
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
266
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
267
<B>Method Detail</B></FONT></TH>
268
</TR>
269
</TABLE>
270
 
271
<A NAME="convertHttpParameters(java.util.Map)"><!-- --></A><H3>
272
convertHttpParameters</H3>
273
<PRE>
274
public static java.lang.String <B>convertHttpParameters</B>(java.util.Map&lt;java.lang.String,java.lang.String&gt;&nbsp;parameters)</PRE>
275
<DL>
276
<DD>Useful method to convert a map of key,value pairs to a String to be used as part of a GET or POST content.
277
<P>
278
<DD><DL>
279
<DT><B>Parameters:</B><DD><CODE>parameters</CODE> - A Map<String, String> with the parameters to encode.
280
<DT><B>Returns:</B><DD>The String with the parameters encoded.</DL>
281
</DD>
282
</DL>
283
<!-- ========= END OF CLASS DATA ========= -->
284
<HR>
285
 
286
 
287
<!-- ======= START OF BOTTOM NAVBAR ====== -->
288
<A NAME="navbar_bottom"><!-- --></A>
289
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
290
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
291
<TR>
292
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
293
<A NAME="navbar_bottom_firstrow"><!-- --></A>
294
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
295
  <TR ALIGN="center" VALIGN="top">
296
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
297
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
298
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
299
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/HttpParametersUtils.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
300
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
301
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
302
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
303
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
304
  </TR>
305
</TABLE>
306
</TD>
307
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
308
libgdx API</EM>
309
</TD>
310
</TR>
311
 
312
<TR>
313
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
314
&nbsp;<A HREF="../../../com/badlogic/gdx/Graphics.GraphicsType.html" title="enum in com.badlogic.gdx"><B>PREV CLASS</B></A>&nbsp;
315
&nbsp;<A HREF="../../../com/badlogic/gdx/Input.html" title="interface in com.badlogic.gdx"><B>NEXT CLASS</B></A></FONT></TD>
316
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
317
  <A HREF="../../../index.html?com/badlogic/gdx/HttpParametersUtils.html" target="_top"><B>FRAMES</B></A>  &nbsp;
318
&nbsp;<A HREF="HttpParametersUtils.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
319
&nbsp;<SCRIPT type="text/javascript">
320
  <!--
321
  if(window==top) {
322
    document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
323
  }
324
  //-->
325
</SCRIPT>
326
<NOSCRIPT>
327
  <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
328
</NOSCRIPT>
329
 
330
 
331
</FONT></TD>
332
</TR>
333
<TR>
334
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
335
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
336
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
337
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
338
</TR>
339
</TABLE>
340
<A NAME="skip-navbar_bottom"></A>
341
<!-- ======== END OF BOTTOM NAVBAR ======= -->
342
 
343
<HR>
344
 
345
                                <div style="font-size:9pt"><i>
346
                                Copyright 2010 Mario Zechner (contact@badlogicgames.com), Nathan Sweet (admin@esotericsoftware.com)
347
                                </i></div>
348
 
349
</BODY>
350
</HTML>