/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/ |
D | StatusLine.java | 13 private final int responseCode; field in StatusLine 45 int responseCode; in StatusLine() local 47 responseCode = Integer.parseInt(statusLine.substring(codeStart, codeStart + 3)); in StatusLine() 63 this.responseCode = responseCode; in StatusLine() 82 return responseCode; in code()
|
D | HttpURLConnectionImpl.java | 342 int responseCode = httpEngine.getResponse().code(); in getResponse() local 343 if (responseCode == HTTP_MULT_CHOICE in getResponse() 344 || responseCode == HTTP_MOVED_PERM in getResponse() 345 || responseCode == HTTP_MOVED_TEMP in getResponse() 346 || responseCode == HTTP_SEE_OTHER) { in getResponse() 353 throw new HttpRetryException("Cannot retry streamed HTTP body", responseCode); in getResponse() 412 final int responseCode = getResponseCode(); in processResponseHeaders() local 413 switch (responseCode) { in processResponseHeaders() 437 if (responseCode == HTTP_TEMP_REDIRECT && !method.equals("GET") && !method.equals("HEAD")) { in processResponseHeaders()
|
D | CacheStrategy.java | 71 int responseCode = response.code(); in isCacheable() local 72 if (responseCode != HttpURLConnection.HTTP_OK in isCacheable() 73 && responseCode != HttpURLConnection.HTTP_NOT_AUTHORITATIVE in isCacheable() 74 && responseCode != HttpURLConnection.HTTP_MULT_CHOICE in isCacheable() 75 && responseCode != HttpURLConnection.HTTP_MOVED_PERM in isCacheable() 76 && responseCode != HttpURLConnection.HTTP_GONE) { in isCacheable()
|
D | HttpEngine.java | 494 int responseCode = userResponse.code(); in hasResponseBody() local 495 if ((responseCode < HTTP_CONTINUE || responseCode >= 200) in hasResponseBody() 496 && responseCode != HTTP_NO_CONTENT in hasResponseBody() 497 && responseCode != HTTP_NOT_MODIFIED) { in hasResponseBody()
|
/external/okhttp/samples/crawler/src/main/java/com/squareup/okhttp/sample/ |
D | Crawler.java | 87 int responseCode = connection.getResponseCode(); in fetch() local 89 System.out.printf("%03d: %s %s%n", responseCode, url, responseSource); in fetch() 91 if (responseCode >= 400) { in fetch() 97 if (responseCode != 200 || contentType == null) { in fetch()
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/internal/net/www/protocol/https/ |
D | HttpsURLConnectionTest.java | 953 final ServerSocket serverSocket, final int responseCode) in doInteraction() argument 955 return doInteraction(clientConnection, serverSocket, responseCode, in doInteraction() 977 final ServerSocket serverSocket, final int responseCode) in doPersistentInteraction() argument 979 return doInteraction(clientConnection, serverSocket, responseCode, in doPersistentInteraction() 991 final ServerSocket serverSocket, final int responseCode, in doInteraction() argument 1000 ServerWork server = new ServerWork(serverSocket, responseCode, in doInteraction() 1010 if (responseCode != OK_CODE) { // not OK response expected in doInteraction() 1030 if (responseCode != OK_CODE) { // not OK response expected in doInteraction() 1165 private int responseCode; field in HttpsURLConnectionTest.ServerWork 1183 public ServerWork(ServerSocket serverSocket, int responseCode, in ServerWork() argument [all …]
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/ |
D | HttpRetryExceptionTest.java | 42 assertEquals("responseCode", ref.responseCode(), tst.responseCode());
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/ |
D | ExternalSpdyExample.java | 44 int responseCode = connection.getResponseCode(); in main() local 45 System.out.println(responseCode); in main()
|
D | ExternalHttp2Example.java | 44 int responseCode = connection.getResponseCode(); in main() local 45 System.out.println(responseCode); in main()
|
D | HttpResponseCacheTest.java | 200 private void assertCached(boolean shouldPut, int responseCode) throws Exception { in assertCached() argument 205 .setResponseCode(responseCode) in assertCached() 208 if (responseCode == HttpURLConnection.HTTP_PROXY_AUTH) { in assertCached() 210 } else if (responseCode == HttpURLConnection.HTTP_UNAUTHORIZED) { in assertCached() 218 assertEquals(responseCode, conn.getResponseCode()); in assertCached() 225 assertNotNull(Integer.toString(responseCode), cached); in assertCached() 228 assertNull(Integer.toString(responseCode), cached); in assertCached()
|
D | URLConnectionTest.java | 1466 int responseCode = proxy ? 407 : 401; 1469 MockResponse pleaseAuthenticate = new MockResponse().setResponseCode(responseCode) 1481 assertEquals(responseCode, connection.getResponseCode());
|
/external/okhttp/mockwebserver/src/test/java/com/squareup/okhttp/mockwebserver/ |
D | CustomDispatcherTest.java | 85 private Thread buildRequestThread(final String path, final AtomicInteger responseCode) { in buildRequestThread() argument 92 … responseCode.set(conn.getResponseCode()); // Force the connection to hit the "server". in buildRequestThread()
|
/external/mockwebserver/src/test/java/com/google/mockwebserver/ |
D | CustomDispatcherTest.java | 86 private Thread buildRequestThread(final String path, final AtomicInteger responseCode) { in buildRequestThread() argument 93 … responseCode.set(conn.getResponseCode()); // Force the connection to hit the "server". in buildRequestThread()
|
/external/okhttp/okhttp-apache/src/main/java/com/squareup/okhttp/apache/ |
D | OkApacheClient.java | 153 int responseCode = connection.getResponseCode(); in execute() local 155 BasicHttpResponse response = new BasicHttpResponse(HTTP_1_1, responseCode, message); in execute() 158 responseCode < HttpURLConnection.HTTP_BAD_REQUEST ? connection.getInputStream() in execute()
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
D | Job.java | 179 int responseCode = response.code(); in processResponse() local 181 switch (responseCode) { in processResponse() 205 if (responseCode == HTTP_TEMP_REDIRECT && !method.equals("GET") && !method.equals("HEAD")) { in processResponse()
|
/external/chromium_org/remoting/ios/ |
D | host_refresh.mm | 98 NSNumber* responseCode = 100 if (responseCode.intValue != 200) {
|
/external/chromium_org/media/base/android/java/src/org/chromium/media/ |
D | MediaDrmBridge.java | 867 int responseCode = response.getStatusLine().getStatusCode(); in postRequest() local 868 if (responseCode == 200) { in postRequest() 871 Log.d(TAG, "Server returned HTTP error code " + responseCode); in postRequest()
|
/external/clang/test/CodeGenObjC/ |
D | debug-info-block-line.m | 51 - (void)sendResponseCode:(TResponseCode)responseCode dataFollows:(BOOL)flag
|