Searched refs:setRequestProperty (Results 1 - 25 of 33) sorted by relevance

12

/external/ksoap2/ksoap2-j2se/src/main/java/org/ksoap2/transport/
H A DHttpsServiceConnectionSEIgnoringConnectionClose.java15 public void setRequestProperty(String key, String value) { method in class:HttpsServiceConnectionSEIgnoringConnectionClose
21 super.setRequestProperty(key, value);
H A DHttpTransportSE.java156 connection.setRequestProperty("User-Agent", USER_AGENT);
163 connection.setRequestProperty("SOAPAction", soapAction);
167 connection.setRequestProperty("Content-Type", CONTENT_TYPE_SOAP_XML_CHARSET_UTF_8);
169 connection.setRequestProperty("Content-Type", CONTENT_TYPE_XML_CHARSET_UTF_8);
172 connection.setRequestProperty("Connection", "close");
173 connection.setRequestProperty("Accept-Encoding", "gzip");
174 connection.setRequestProperty("Content-Length", "" + requestData.length);
183 connection.setRequestProperty(hp.getKey(), hp.getValue());
191 connection.setRequestProperty("Connection", "close");
192 connection.setRequestProperty("Accep
[all...]
H A DKeepAliveHttpsTransportSE.java53 serviceConnection.setRequestProperty("Connection", "keep-alive");
H A DHttpsServiceConnectionSE.java92 public void setRequestProperty(String key, String value) { method in class:HttpsServiceConnectionSE
93 connection.setRequestProperty(key, value);
H A DServiceConnectionSE.java100 public void setRequestProperty(String string, String soapAction) { method in class:ServiceConnectionSE
101 connection.setRequestProperty(string, soapAction);
/external/apache-harmony/support/src/test/java/tests/support/
H A DSupport_HttpConnector.java40 public void setRequestProperty(String key, String value) throws IOException; method in interface:Support_HttpConnector
H A DSupport_URLConnector.java74 public void setRequestProperty(String key, String value) throws IOException { method in class:Support_URLConnector
75 instance.setRequestProperty(key, value);
/external/ksoap2/ksoap2-base/src/main/java/org/ksoap2/transport/
H A DServiceConnection.java71 public void setRequestProperty(String propertyName, String value) throws IOException; method in interface:ServiceConnection
/external/webrtc/webrtc/examples/androidapp/src/org/appspot/apprtc/util/
H A DAsyncHttpURLConnection.java84 connection.setRequestProperty("Content-Type", "text/plain; charset=utf-8");
86 connection.setRequestProperty("Content-Type", contentType);
/external/walt/android/WALT/app/src/main/java/org/chromium/latency/walt/
H A DLogUploader.java55 urlConnection.setRequestProperty("Content-Type", "text/plain");
/external/okhttp/okhttp-android-support/src/test/java/com/squareup/okhttp/internal/huc/
H A DResponseCacheTest.java903 connection1.setRequestProperty("Cache-Control", "no-store");
1037 maxStaleConnection.setRequestProperty("Cache-Control", "max-stale");
1111 connection.setRequestProperty("Cache-Control", "no-cache");
1126 connection.setRequestProperty("Pragma", "no-cache");
1269 frenchConnection.setRequestProperty("Accept-Language", "fr-CA");
1273 englishConnection.setRequestProperty("Accept-Language", "en-US");
1287 frenchConnection1.setRequestProperty("Accept-Language", "fr-CA");
1291 frenchConnection2.setRequestProperty("Accept-Language", "fr-CA");
1317 connection2.setRequestProperty("Foo", "bar");
1330 connection1.setRequestProperty("Fo
[all...]
H A DCacheAdapterTest.java96 connection.setRequestProperty("key1", "value1");
121 connection.setRequestProperty("key1", "value1");
163 connection.setRequestProperty("key", "value");
H A DJavaApiConverterTest.java273 httpUrlConnection.setRequestProperty("key", "value");
/external/smali/smalidea/src/main/java/org/jf/smalidea/errorReporting/
H A DGithubFeedbackTask.java99 httpURLConnection.setRequestProperty("User-Agent", userAgent);
100 httpURLConnection.setRequestProperty("Content-Type", "application/json");
104 httpURLConnection.setRequestProperty("Authorization", "token " + token);
/external/oauth/core/src/main/java/net/oauth/client/
H A DURLConnectionClient.java80 connection.setRequestProperty(key, header.getValue());
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/
H A DExcludedProxyTest.java96 conn4.setRequestProperty("Content-length", String.valueOf(posted4
175 conn.setRequestProperty("Content-length", String.valueOf(posted
/external/okhttp/okhttp-urlconnection/src/main/java/com/squareup/okhttp/internal/huc/
H A DDelegatingHttpsURLConnection.java257 @Override public void setRequestProperty(String field, String newValue) { method in class:DelegatingHttpsURLConnection
258 delegate.setRequestProperty(field, newValue);
H A DHttpURLConnectionImpl.java541 @Override public final void setRequestProperty(String field, String newValue) { method in class:HttpURLConnectionImpl
/external/mockwebserver/src/test/java/com/google/mockwebserver/
H A DMockWebServerTest.java112 connection.setRequestProperty("Accept-Language", "en-US");
/external/okhttp/okhttp-urlconnection/src/test/java/com/squareup/okhttp/
H A DOkUrlFactoryTest.java135 connection2.setRequestProperty("Cache-Control", "only-if-cached");
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/
H A DHttpOverSpdyTest.java139 connection.setRequestProperty("Content-Length", String.valueOf(postBytes.length));
154 connection.setRequestProperty("Content-Length", String.valueOf(postBytes.length));
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
H A DURLConnectionTest.java154 connection.setRequestProperty(null, "j");
163 connection.setRequestProperty("NullValue", null);
182 connection.setRequestProperty("P", "q");
983 connection.setRequestProperty("Connection", "close");
2292 connection.setRequestProperty("Transfer-encoding", "chunked");
2306 a.setRequestProperty("Connection", "close");
2730 connection.setRequestProperty("Content-Length", "4");
2747 connection.setRequestProperty("Content-Length", "3");
2804 connection.setRequestProperty("", "A");
3038 connection.setRequestProperty("Conten
[all...]
/external/okhttp/mockwebserver/src/test/java/com/squareup/okhttp/mockwebserver/
H A DMockWebServerTest.java87 connection.setRequestProperty("Accept-Language", "en-US");
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/
H A DCookiesTest.java283 connection.setRequestProperty("Foo", "foo");
/external/okhttp/okhttp-android-support/src/main/java/com/squareup/okhttp/internal/huc/
H A DJavaApiConverter.java569 public void setRequestProperty(String key, String value) { method in class:JavaApiConverter.CacheHttpURLConnection

Completed in 453 milliseconds

12