Home
last modified time | relevance | path

Searched defs:response (Results 1 – 6 of 6) sorted by relevance

/libcore/luni/src/test/java/libcore/net/http/
DHttpResponseCacheTest.java158 MockResponse response = new MockResponse() in assertCached() local
262 MockResponse response = new MockResponse() in testResponseCaching() local
469 MockResponse response = new MockResponse(); in testServerPrematureDisconnect() local
507 MockResponse response = new MockResponse(); in testClientPrematureDisconnect() local
880 private void assertNonIdentityEncodingCached(MockResponse response) throws Exception { in assertNonIdentityEncodingCached()
1032 MockResponse response = new MockResponse() in testClientSuppliedIfModifiedSinceWithCachedResult() local
1045 MockResponse response = new MockResponse() in testClientSuppliedIfNoneMatchSinceWithCachedResult() local
1129 public void assertAuthorizationRequestFullyCached(MockResponse response) throws Exception { in assertAuthorizationRequestFullyCached()
1678 private void assertNotCached(MockResponse response) throws Exception { in assertNotCached()
1716 private RecordedRequest assertConditionallyCached(MockResponse response) throws Exception { in assertConditionallyCached()
[all …]
/libcore/luni/src/main/java/libcore/net/http/
DHttpURLConnectionImpl.java100 HttpEngine response = getResponse(); in getErrorStream() local
168 HttpEngine response = getResponse(); in getInputStream() local
397 final boolean processAuthHeader(int responseCode, ResponseHeaders response, in processAuthHeader()
DHttpResponseCache.java152 ResponseHeaders response = httpEngine.getResponseHeaders(); in put() local
183 ResponseHeaders response = httpEngine.getResponseHeaders(); in update() local
/libcore/luni/src/test/java/libcore/java/net/
DURLConnectionTest.java234 MockResponse response = new MockResponse().setChunkedBody("ABCDE\nFGHIJ\nKLMNO\nPQR", 8); in test_2939() local
252 MockResponse response = new MockResponse().setBody("ABCDEFGHIJKLMNOPQR"); in testConnectionsArePooled() local
268 MockResponse response = new MockResponse().setChunkedBody("ABCDEFGHIJKLMNOPQR", 5); in testChunkedConnectionsArePooled() local
857 MockResponse response = new MockResponse(); in testMarkAndReset() local
882 MockResponse response = new MockResponse() in testUnauthorizedResponseHandling() local
1373 MockResponse response = new MockResponse() in testRedirected() local
1670 MockResponse response = new MockResponse() in testConnectionCloseWithRedirect() local
2080 MockResponse response = new MockResponse(); in testInputStreamAvailable() local
2240 @Override void setBody(MockResponse response, byte[] content, int chunkSize) in CHUNKED()
2246 @Override void setBody(MockResponse response, byte[] content, int chunkSize) { in FIXED_LENGTH()
[all …]
/libcore/support/src/test/java/tests/http/
DMockWebServer.java143 public void enqueue(MockResponse response) { in enqueue()
420 private void writeResponse(OutputStream out, MockResponse response) throws IOException { in writeResponse()
/libcore/luni/src/main/java/java/net/
DHttpURLConnection.java605 String response = getHeaderField(0); in getResponseCode() local