/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
D | Cache.java | 212 String requestMethod = response.request().method(); in put() local 222 if (!requestMethod.equals("GET")) { in put() 471 private final String requestMethod; field in Entry 531 requestMethod = source.readUtf8LineStrict(); in Entry() 570 this.requestMethod = response.request().method(); in Entry() 583 sink.writeUtf8(requestMethod); in writeTo() 656 && requestMethod.equals(request.method()) in matches() 665 .method(requestMethod, null) in response()
|
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/ |
D | Cache.java | 214 String requestMethod = response.request().method(); in put() local 224 if (!requestMethod.equals("GET")) { in put() 473 private final String requestMethod; field in Entry 533 requestMethod = source.readUtf8LineStrict(); in Entry() 572 this.requestMethod = response.request().method(); in Entry() 585 sink.writeUtf8(requestMethod); in writeTo() 658 && requestMethod.equals(request.method()) in matches() 667 .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/okhttp/repackaged/okhttp-android-support/src/main/java/com/android/okhttp/ |
D | AndroidShimResponseCache.java | 60 @Override public CacheResponse get(URI uri, String requestMethod, in get() argument 62 Request okRequest = JavaApiConverter.createOkRequest(uri, requestMethod, requestHeaders); in get()
|
/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/ksoap2/ksoap2-j2se/src/main/java/org/ksoap2/transport/ |
D | ServiceConnectionSE.java | 112 public void setRequestMethod(String requestMethod) throws IOException { in setRequestMethod() argument 113 connection.setRequestMethod(requestMethod); in setRequestMethod()
|
D | HttpsServiceConnectionSE.java | 121 public void setRequestMethod(String requestMethod) throws IOException { in setRequestMethod() argument 122 connection.setRequestMethod(requestMethod); in setRequestMethod()
|
/external/okhttp/repackaged/okhttp-android-support/src/main/java/com/android/okhttp/internal/huc/ |
D | JavaApiConverter.java | 86 String requestMethod = httpUrlConnection.getRequestMethod(); in createOkResponseForCachePut() local 87 RequestBody placeholderBody = HttpMethod.requiresRequestBody(requestMethod) in createOkResponseForCachePut() 93 .method(requestMethod, placeholderBody) in createOkResponseForCachePut() 270 URI uri, String requestMethod, Map<String, List<String>> requestHeaders) { in createOkRequest() argument 272 RequestBody placeholderBody = HttpMethod.requiresRequestBody(requestMethod) in createOkRequest() 278 .method(requestMethod, placeholderBody); in createOkRequest()
|
/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/android/src/main/java/com/android/okhttp/internalandroidapi/ |
D | AndroidResponseCacheAdapter.java | 89 public @Nullable CacheResponse get(@NonNull URI uri, @NonNull String requestMethod, in get() argument 91 Request okRequest = JavaApiConverter.createOkRequest(uri, requestMethod, requestHeaders); in get()
|
/external/okhttp/repackaged/android/src/main/java/com/android/okhttp/internalandroidapi/ |
D | AndroidResponseCacheAdapter.java | 91 public @Nullable CacheResponse get(@NonNull URI uri, @NonNull String requestMethod, in get() argument 93 Request okRequest = JavaApiConverter.createOkRequest(uri, requestMethod, requestHeaders); in get()
|
/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 | 140 private static boolean hasResponseBody(int requestMethod, int responseCode) { in hasResponseBody() argument 141 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/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowHttpResponseCache.java | 90 URI uri, String requestMethod, Map<String, List<String>> requestHeaders) { in get() argument
|
/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 | 1562 private void assertValidRequestMethod(String requestMethod) throws Exception { 1564 connection.setRequestMethod(requestMethod); 1565 assertEquals(requestMethod, connection.getRequestMethod()); 1576 private void assertInvalidRequestMethod(String requestMethod) throws Exception { 1579 connection.setRequestMethod(requestMethod);
|