Home
last modified time | relevance | path

Searched refs:NameValuePair (Results 1 – 20 of 20) sorted by relevance

/external/apache-http/src/org/apache/http/message/
DBasicHeaderElement.java35 import org.apache.http.NameValuePair;
92 private final NameValuePair[] parameters;
105 final NameValuePair[] parameters) { in BasicHeaderElement()
115 this.parameters = new NameValuePair[] {}; in BasicHeaderElement()
154 public NameValuePair[] getParameters() { in getParameters()
155 return (NameValuePair[])this.parameters.clone(); in getParameters()
176 public NameValuePair getParameter(int index) { in getParameter()
189 public NameValuePair getParameterByName(final String name) { in getParameterByName()
193 NameValuePair found = null; in getParameterByName()
195 NameValuePair current = this.parameters[ i ]; in getParameterByName()
DBasicHeaderValueParser.java39 import org.apache.http.NameValuePair;
179 NameValuePair nvp = parseNameValuePair(buffer, cursor); in parseHeaderElement()
180 NameValuePair[] params = null; in parseHeaderElement()
200 final NameValuePair[] params) { in createHeaderElement()
214 NameValuePair[] parseParameters(final String value, in parseParameters()
235 public NameValuePair[] parseParameters(final CharArrayBuffer buffer, in parseParameters()
258 return new NameValuePair[] {}; in parseParameters()
263 NameValuePair param = parseNameValuePair(buffer, cursor); in parseParameters()
271 return (NameValuePair[]) in parseParameters()
272 params.toArray(new NameValuePair[params.size()]); in parseParameters()
[all …]
DBasicHeaderValueFormatter.java35 import org.apache.http.NameValuePair;
259 String formatParameters(final NameValuePair[] nvps, in formatParameters()
270 NameValuePair[] nvps, in formatParameters()
302 protected int estimateParametersLen(final NameValuePair[] nvps) { in estimateParametersLen()
327 String formatNameValuePair(final NameValuePair nvp, in formatNameValuePair()
338 final NameValuePair nvp, in formatNameValuePair()
370 protected int estimateNameValuePairLen(final NameValuePair nvp) { in estimateNameValuePairLen()
DHeaderValueFormatter.java36 import org.apache.http.NameValuePair;
122 NameValuePair[] nvps, in formatParameters()
141 NameValuePair nvp, in formatNameValuePair()
DHeaderValueParser.java36 import org.apache.http.NameValuePair;
199 NameValuePair[] parseParameters( in parseParameters()
214 NameValuePair parseNameValuePair( in parseNameValuePair()
DBasicNameValuePair.java34 import org.apache.http.NameValuePair;
111 public class BasicNameValuePair implements NameValuePair, Cloneable {
174 if (object instanceof NameValuePair) { in equals()
/external/apache-http/src/org/apache/http/client/utils/
DURLEncodedUtils.java44 import org.apache.http.NameValuePair;
76 public static List <NameValuePair> parse (final URI uri, final String encoding) { in parse()
77 List <NameValuePair> result = Collections.emptyList(); in parse()
80 result = new ArrayList <NameValuePair>(); in parse()
98 public static List <NameValuePair> parse ( in parse()
100 List <NameValuePair> result = Collections.emptyList(); in parse()
105 result = new ArrayList <NameValuePair>(); in parse()
137 final List <NameValuePair> parameters, in parse()
162 final List <? extends NameValuePair> parameters, in format()
165 for (final NameValuePair parameter : parameters) { in format()
/external/apache-http/src/org/apache/http/impl/cookie/
DNetscapeDraftHeaderParser.java38 import org.apache.http.NameValuePair;
73 NameValuePair nvp = this.nvpParser.parseNameValuePair(buffer, cursor, DELIMITERS); in parseHeader()
74 List<NameValuePair> params = new ArrayList<NameValuePair>(); in parseHeader()
76 NameValuePair param = this.nvpParser.parseNameValuePair(buffer, cursor, DELIMITERS); in parseHeader()
81 nvp.getValue(), params.toArray(new NameValuePair[params.size()])); in parseHeader()
DRFC2965Spec.java41 import org.apache.http.NameValuePair;
131 NameValuePair[] attribs = headerelement.getParameters(); in parse()
135 Map<String, NameValuePair> attribmap = in parse()
136 new HashMap<String, NameValuePair>(attribs.length); in parse()
138 NameValuePair param = attribs[j]; in parse()
141 for (Map.Entry<String, NameValuePair> entry : attribmap.entrySet()) { in parse()
142 NameValuePair attrib = entry.getValue(); in parse()
DCookieSpecBase.java39 import org.apache.http.NameValuePair;
91 NameValuePair[] attribs = headerelement.getParameters(); in parse()
93 NameValuePair attrib = attribs[j]; in parse()
/external/apache-http/src/org/apache/http/
DHeaderElement.java56 NameValuePair[] getParameters(); in getParameters()
58 NameValuePair getParameterByName(String name); in getParameterByName()
62 NameValuePair getParameter(int index); in getParameter()
DNameValuePair.java107 public interface NameValuePair { interface
/external/dexmaker/dexmaker/src/main/java/com/android/dx/
DAnnotationId.java22 import com.android.dx.rop.annotation.NameValuePair;
75 private final HashMap<String, NameValuePair> elements;
118 NameValuePair nameValuePair = new NameValuePair(pairName, pairValue); in set()
155 for (NameValuePair nvp : elements.values()) { in addToMethod()
/external/apache-http/src/org/apache/http/client/entity/
DUrlEncodedFormEntity.java35 import org.apache.http.NameValuePair;
60 final List <? extends NameValuePair> parameters, in UrlEncodedFormEntity()
75 final List <? extends NameValuePair> parameters) throws UnsupportedEncodingException { in UrlEncodedFormEntity()
/external/robolectric-shadows/shadows/httpclient/src/main/java/org/robolectric/shadows/httpclient/
DParamsParser.java11 import org.apache.http.NameValuePair;
33 List<NameValuePair> pairs = URLEncodedUtils.parse(entity); in parseParamsForRequestWithEntity()
35 for (NameValuePair pair : pairs) { in parseParamsForRequestWithEntity()
/external/nanohttpd/core/src/test/java/fi/iki/elonen/integration/
DGetAndPostIntegrationTest.java46 import org.apache.http.NameValuePair;
117 List<NameValuePair> postParameters = new ArrayList<NameValuePair>(); in testPostRequestWithFormEncodedParameters()
/external/volley/src/main/java/com/android/volley/toolbox/
DHttpClientStack.java29 import org.apache.http.NameValuePair;
68 private static List<NameValuePair> getPostParameterPairs(Map<String, String> postParams) { in getPostParameterPairs()
69 List<NameValuePair> result = new ArrayList<>(postParams.size()); in getPostParameterPairs()
/external/apache-http/src/org/apache/http/util/
DEntityUtils.java41 import org.apache.http.NameValuePair;
103 NameValuePair param = values[0].getParameterByName("charset"); in getContentCharSet()
/external/apache-http/
Dart-profile23 HPLorg/apache/http/HeaderElement;->getParameter(I)Lorg/apache/http/NameValuePair;
24 …g/apache/http/HeaderElement;->getParameterByName(Ljava/lang/String;)Lorg/apache/http/NameValuePair;
26 HPLorg/apache/http/HeaderElement;->getParameters()[Lorg/apache/http/NameValuePair;
57 HPLorg/apache/http/NameValuePair;->getName()Ljava/lang/String;
58 HPLorg/apache/http/NameValuePair;->getValue()Ljava/lang/String;
607 …/BasicHeaderElement;-><init>(Ljava/lang/String;Ljava/lang/String;[Lorg/apache/http/NameValuePair;)V
609 …/message/BasicHeaderElement;->getParameterByName(Ljava/lang/String;)Lorg/apache/http/NameValuePair;
610 HPLorg/apache/http/message/BasicHeaderElement;->getParameters()[Lorg/apache/http/NameValuePair;
617 …teHeaderElement(Ljava/lang/String;Ljava/lang/String;[Lorg/apache/http/NameValuePair;)Lorg/apache/h…
618 …ueParser;->createNameValuePair(Ljava/lang/String;Ljava/lang/String;)Lorg/apache/http/NameValuePair;
[all …]
/external/apache-http/api/
Dcurrent.txt866 method @Deprecated public org.apache.http.NameValuePair getParameter(int);
867 method @Deprecated public org.apache.http.NameValuePair getParameterByName(String);
869 method @Deprecated public org.apache.http.NameValuePair[] getParameters();
1090 @Deprecated public interface NameValuePair {
1378 … public UrlEncodedFormEntity(java.util.List<? extends org.apache.http.NameValuePair>, String) thro…
1379 … public UrlEncodedFormEntity(java.util.List<? extends org.apache.http.NameValuePair>) throws java.…
1604 …cated public static String format(java.util.List<? extends org.apache.http.NameValuePair>, String);
1606 …method @Deprecated public static java.util.List<org.apache.http.NameValuePair> parse(java.net.URI,…
1607 …method @Deprecated public static java.util.List<org.apache.http.NameValuePair> parse(org.apache.ht…
1608 …method @Deprecated public static void parse(java.util.List<org.apache.http.NameValuePair>, java.ut…
[all …]