Home
last modified time | relevance | path

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

12

/external/ksoap2/ksoap2-j2se/src/main/java/org/ksoap2/transport/
DHttpTransportSE.java158 connection.setRequestProperty("User-Agent", USER_AGENT); in call()
163 connection.setRequestProperty("SOAPAction", soapAction); in call()
167 connection.setRequestProperty("Content-Type", CONTENT_TYPE_SOAP_XML_CHARSET_UTF_8); in call()
169 connection.setRequestProperty("Content-Type", CONTENT_TYPE_XML_CHARSET_UTF_8); in call()
174 connection.setRequestProperty("Accept-Encoding", "gzip"); in call()
181 connection.setRequestProperty(hp.getKey(), hp.getValue()); in call()
295 connection.setRequestProperty("Content-Length", "" + requestData.length); in sendData()
DHttpsServiceConnectionSEIgnoringConnectionClose.java15 public void setRequestProperty(String key, String value) { in setRequestProperty() method in HttpsServiceConnectionSEIgnoringConnectionClose
21 super.setRequestProperty(key, value); in setRequestProperty()
DServiceConnectionSE.java108 public void setRequestProperty(String string, String soapAction) { in setRequestProperty() method in ServiceConnectionSE
109 connection.setRequestProperty(string, soapAction); in setRequestProperty()
DHttpsServiceConnectionSE.java117 public void setRequestProperty(String key, String value) { in setRequestProperty() method in HttpsServiceConnectionSE
118 connection.setRequestProperty(key, value); in setRequestProperty()
DKeepAliveHttpsTransportSE.java46 serviceConnection.setRequestProperty("Connection", "keep-alive"); in getServiceConnection()
/external/okhttp/okhttp-android-support/src/test/java/com/squareup/okhttp/internal/huc/
DResponseCacheTest.java903 connection1.setRequestProperty("Cache-Control", "no-store"); in clientSideNoStore()
1037 maxStaleConnection.setRequestProperty("Cache-Control", "max-stale"); in requestMaxStaleDirectiveWithNoValue()
1111 connection.setRequestProperty("Cache-Control", "no-cache"); in requestCacheControlNoCache()
1126 connection.setRequestProperty("Pragma", "no-cache"); in requestPragmaNoCache()
1269 frenchConnection.setRequestProperty("Accept-Language", "fr-CA"); in varyMatchesChangedRequestHeaderField()
1273 englishConnection.setRequestProperty("Accept-Language", "en-US"); in varyMatchesChangedRequestHeaderField()
1287 frenchConnection1.setRequestProperty("Accept-Language", "fr-CA"); in varyMatchesUnchangedRequestHeaderField()
1291 frenchConnection2.setRequestProperty("Accept-Language", "fr-CA"); in varyMatchesUnchangedRequestHeaderField()
1317 connection2.setRequestProperty("Foo", "bar"); in varyMatchesAddedRequestHeaderField()
1330 connection1.setRequestProperty("Foo", "bar"); in varyMatchesRemovedRequestHeaderField()
[all …]
DCacheAdapterTest.java96 connection.setRequestProperty("key1", "value1"); in get_httpGet()
121 connection.setRequestProperty("key1", "value1"); in get_httpsGet()
163 connection.setRequestProperty("key", "value"); in put_httpGet()
/external/apache-harmony/support/src/test/java/tests/support/
DSupport_URLConnector.java74 public void setRequestProperty(String key, String value) throws IOException { in setRequestProperty() method in Support_URLConnector
75 instance.setRequestProperty(key, value); in setRequestProperty()
DSupport_HttpConnector.java40 public void setRequestProperty(String key, String value) throws IOException; in setRequestProperty() method
/external/smali/smalidea/src/main/java/org/jf/smalidea/errorReporting/
DGithubFeedbackTask.java99 httpURLConnection.setRequestProperty("User-Agent", userAgent); in sendFeedback()
100 httpURLConnection.setRequestProperty("Content-Type", "application/json"); in sendFeedback()
104 httpURLConnection.setRequestProperty("Authorization", "token " + token); in sendFeedback()
/external/webrtc/webrtc/examples/androidapp/src/org/appspot/apprtc/util/
DAsyncHttpURLConnection.java84 connection.setRequestProperty("Content-Type", "text/plain; charset=utf-8"); in sendHttpMessage()
86 connection.setRequestProperty("Content-Type", contentType); in sendHttpMessage()
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/
DExcludedProxyTest.java96 conn4.setRequestProperty("Content-length", String.valueOf(posted4 in test_usingProxy()
175 conn.setRequestProperty("Content-length", String.valueOf(posted in test_openConnectionLjava_net_Proxy()
/external/ksoap2/ksoap2-base/src/main/java/org/ksoap2/transport/
DServiceConnection.java72 public void setRequestProperty(String propertyName, String value) throws IOException; in setRequestProperty() method
/external/volley/src/main/java/com/android/volley/toolbox/
DHurlStack.java92 connection.setRequestProperty(headerName, map.get(headerName)); in executeRequest()
289 connection.setRequestProperty( in addBody()
/external/okhttp/repackaged/okhttp-urlconnection/src/main/java/com/android/okhttp/internal/huc/
DDelegatingHttpsURLConnection.java258 @Override public void setRequestProperty(String field, String newValue) { in setRequestProperty() method in DelegatingHttpsURLConnection
259 delegate.setRequestProperty(field, newValue); in setRequestProperty()
/external/okhttp/okhttp-urlconnection/src/main/java/com/squareup/okhttp/internal/huc/
DDelegatingHttpsURLConnection.java257 @Override public void setRequestProperty(String field, String newValue) { in setRequestProperty() method in DelegatingHttpsURLConnection
258 delegate.setRequestProperty(field, newValue); in setRequestProperty()
/external/opencensus-java/contrib/monitored_resource_util/src/main/java/io/opencensus/contrib/monitoredresource/util/
DGcpMetadataConfig.java72 connection.setRequestProperty("Metadata-Flavor", "Google"); in getAttribute()
/external/walt/android/WALT/app/src/main/java/org/chromium/latency/walt/
DLogUploader.java55 urlConnection.setRequestProperty("Content-Type", "text/plain"); in loadInBackground()
/external/ksoap2/
D0001-ksoap2-update.patch2301 connection.setRequestProperty("User-Agent", USER_AGENT);
2308 - connection.setRequestProperty("SOAPAction", soapAction);
2311 + connection.setRequestProperty("SOAPAction", soapAction);
2315 - connection.setRequestProperty("Content-Type", CONTENT_TYPE_SOAP_XML_CHARSET_UTF_8);
2317 - connection.setRequestProperty("Content-Type", CONTENT_TYPE_XML_CHARSET_UTF_8);
2320 + connection.setRequestProperty("Content-Type", CONTENT_TYPE_SOAP_XML_CHARSET_UTF_8);
2322 + connection.setRequestProperty("Content-Type", CONTENT_TYPE_XML_CHARSET_UTF_8);
2325 - connection.setRequestProperty("Connection", "close");
2326 - connection.setRequestProperty("Accept-Encoding", "gzip");
2327 - connection.setRequestProperty("Content-Length", "" + requestData.length);
[all …]
/external/oauth/core/src/main/java/net/oauth/client/
DURLConnectionClient.java80 connection.setRequestProperty(key, header.getValue()); in execute()
/external/volley/src/test/java/com/android/volley/toolbox/
DHttpStackConformanceTest.java71 .setRequestProperty(anyString(), anyString());
/external/mockwebserver/src/test/java/com/google/mockwebserver/
DMockWebServerTest.java112 connection.setRequestProperty("Accept-Language", "en-US"); in testRegularResponse()
/external/okhttp/okhttp-urlconnection/src/test/java/com/squareup/okhttp/
DOkUrlFactoryTest.java135 connection2.setRequestProperty("Cache-Control", "only-if-cached"); in noneResponseSourceHeaders()
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/
DHttpOverSpdyTest.java139 connection.setRequestProperty("Content-Length", String.valueOf(postBytes.length)); in userSuppliedContentLengthHeader()
154 connection.setRequestProperty("Content-Length", String.valueOf(postBytes.length)); in closeAfterFlush()
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DURLConnectionTest.java154 connection.setRequestProperty(null, "j"); in requestHeaders()
163 connection.setRequestProperty("NullValue", null); in requestHeaders()
182 connection.setRequestProperty("P", "q"); in requestHeaders()
983 connection.setRequestProperty("Connection", "close"); in proxyWithConnectionClose()
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("Content-Length", "0");

12