/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
D | Cache.java | 211 String requestMethod = response.request().method(); in put() local 221 if (!requestMethod.equals("GET")) { in put() 470 private final String requestMethod; field in Entry 530 requestMethod = source.readUtf8LineStrict(); in Entry() 569 this.requestMethod = response.request().method(); in Entry() 582 sink.writeUtf8(requestMethod); in writeTo() 655 && requestMethod.equals(request.method()) in matches() 664 .method(requestMethod, null) in response()
|
/external/okhttp/okhttp-android-support/src/main/java/com/squareup/okhttp/ |
D | AndroidShimResponseCache.java | 58 @Override public CacheResponse get(URI uri, String requestMethod, in get() argument 60 Request okRequest = JavaApiConverter.createOkRequest(uri, requestMethod, requestHeaders); in get()
|
/external/ksoap2/ksoap2-j2se/src/main/java/org/ksoap2/transport/ |
D | HttpsServiceConnectionSE.java | 96 public void setRequestMethod(String requestMethod) throws IOException { in setRequestMethod() argument 97 connection.setRequestMethod(requestMethod); in setRequestMethod()
|
D | ServiceConnectionSE.java | 104 public void setRequestMethod(String requestMethod) throws IOException { in setRequestMethod() argument 105 connection.setRequestMethod(requestMethod); in setRequestMethod()
|
/external/okhttp/okhttp-android-support/src/test/java/com/squareup/okhttp/android/ |
D | HttpResponseCache.java | 96 @Override public CacheResponse get(URI uri, String requestMethod, in get() argument 98 return shimResponseCache.get(uri, requestMethod, requestHeaders); in get()
|
D | HttpResponseCacheTest.java | 98 public CacheResponse get(URI uri, String requestMethod, in getInstalledWithWrongTypeInstalled()
|
/external/okhttp/okhttp-android-support/src/main/java/com/squareup/okhttp/internal/huc/ |
D | JavaApiConverter.java | 84 String requestMethod = httpUrlConnection.getRequestMethod(); in createOkResponseForCachePut() local 85 RequestBody placeholderBody = HttpMethod.requiresRequestBody(requestMethod) in createOkResponseForCachePut() 91 .method(requestMethod, placeholderBody) in createOkResponseForCachePut() 268 URI uri, String requestMethod, Map<String, List<String>> requestHeaders) { in createOkRequest() argument 270 RequestBody placeholderBody = HttpMethod.requiresRequestBody(requestMethod) in createOkRequest() 276 .method(requestMethod, placeholderBody); in createOkRequest()
|
/external/okhttp/okhttp-android-support/src/test/java/com/squareup/okhttp/ |
D | AbstractResponseCache.java | 30 @Override public CacheResponse get(URI uri, String requestMethod, in get() argument
|
/external/volley/src/main/java/com/android/volley/toolbox/ |
D | HurlStack.java | 138 private static boolean hasResponseBody(int requestMethod, int responseCode) { in hasResponseBody() argument 139 return requestMethod != Request.Method.HEAD in hasResponseBody()
|
/external/okhttp/okhttp-android-support/src/test/java/com/squareup/okhttp/internal/huc/ |
D | ResponseCacheTest.java | 696 private void testRequestMethod(String requestMethod, boolean expectCached) throws Exception { in testRequestMethod() argument 708 request1.setRequestMethod(requestMethod); in testRequestMethod() 709 addRequestBodyIfNecessary(requestMethod, request1); in testRequestMethod() 722 private void addRequestBodyIfNecessary(String requestMethod, HttpURLConnection connection) in addRequestBodyIfNecessary() argument 724 if (requestMethod.equals("POST") || requestMethod.equals("PUT")) { in addRequestBodyIfNecessary() 744 private void testMethodInvalidates(String requestMethod) throws Exception { in testMethodInvalidates() argument 761 invalidateConnection.setRequestMethod(requestMethod); in testMethodInvalidates() 1923 public CacheResponse get(URI uri, String requestMethod, 1967 @Override public CacheResponse get(URI uri, String requestMethod, 1969 final CacheResponse response = delegate.get(uri, requestMethod, requestHeaders); [all …]
|
/external/nanohttpd/core/src/main/java/fi/iki/elonen/ |
D | NanoHTTPD.java | 1296 private Method requestMethod; field in NanoHTTPD.Response 1356 return this.requestMethod; 1423 if (this.requestMethod != Method.HEAD && this.chunkedTransfer) { 1439 if (this.requestMethod != Method.HEAD && this.chunkedTransfer) { 1515 public void setRequestMethod(Method requestMethod) { 1516 this.requestMethod = requestMethod;
|
/external/okhttp/okhttp-urlconnection/src/test/java/com/squareup/okhttp/ |
D | UrlConnectionCacheTest.java | 623 private void testRequestMethod(String requestMethod, boolean expectCached) throws Exception { in testRequestMethod() argument 633 request1.setRequestMethod(requestMethod); in testRequestMethod() 634 addRequestBodyIfNecessary(requestMethod, request1); in testRequestMethod() 659 private void testMethodInvalidates(String requestMethod) throws Exception { in testMethodInvalidates() argument 673 invalidate.setRequestMethod(requestMethod); in testMethodInvalidates() 674 addRequestBodyIfNecessary(requestMethod, invalidate); in testMethodInvalidates() 1673 private void addRequestBodyIfNecessary(String requestMethod, HttpURLConnection invalidate) in addRequestBodyIfNecessary() argument 1675 if (requestMethod.equals("POST") || requestMethod.equals("PUT")) { in addRequestBodyIfNecessary()
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/ |
D | CacheTest.java | 733 private void testRequestMethod(String requestMethod, boolean expectCached) throws Exception { in testRequestMethod() argument 746 .method(requestMethod, requestBodyOrNull(requestMethod)) in testRequestMethod() 761 private RequestBody requestBodyOrNull(String requestMethod) { in requestBodyOrNull() argument 762 return (requestMethod.equals("POST") || requestMethod.equals("PUT")) in requestBodyOrNull() 779 private void testMethodInvalidates(String requestMethod) throws Exception { in testMethodInvalidates() argument 797 .method(requestMethod, requestBodyOrNull(requestMethod)) in testMethodInvalidates()
|
D | OkHttpClientTest.java | 142 @Override public CacheResponse get(URI uri, String requestMethod, in copyWithDefaultsDoesNotHonorGlobalResponseCache()
|
D | URLConnectionTest.java | 1550 private void assertValidRequestMethod(String requestMethod) throws Exception { 1552 connection.setRequestMethod(requestMethod); 1553 assertEquals(requestMethod, connection.getRequestMethod()); 1564 private void assertInvalidRequestMethod(String requestMethod) throws Exception { 1567 connection.setRequestMethod(requestMethod);
|