Searched refs:getBody (Results 1 - 10 of 10) sorted by relevance
/libcore/luni/src/main/java/java/net/ |
H A D | CacheRequest.java | 56 public abstract OutputStream getBody() throws IOException; method in class:CacheRequest
|
H A D | CacheResponse.java | 39 public abstract InputStream getBody() throws IOException; method in class:CacheResponse
|
/libcore/support/src/test/java/tests/http/ |
H A D | RecordedRequest.java | 69 public byte[] getBody() { method in class:RecordedRequest
|
H A D | MockResponse.java | 91 public byte[] getBody() { method in class:MockResponse
|
H A D | MockWebServer.java | 426 out.write(response.getBody());
|
/libcore/luni/src/main/java/libcore/net/http/ |
H A D | AbstractHttpInputStream.java | 47 OutputStream cacheBody = cacheRequest != null ? cacheRequest.getBody() : null;
|
H A D | HttpEngine.java | 78 @Override public InputStream getBody() throws IOException { 236 setResponse(new ResponseHeaders(uri, rawResponseHeaders), cacheResponse.getBody()); 264 cachedResponseBody = candidate.getBody();
|
H A D | HttpResponseCache.java | 309 @Override public OutputStream getBody() throws IOException { method in class:HttpResponseCache.CacheRequestImpl 534 @Override public InputStream getBody() { method in class:HttpResponseCache.EntryCacheResponse 554 @Override public InputStream getBody() { method in class:HttpResponseCache.EntrySecureCacheResponse
|
/libcore/luni/src/test/java/libcore/java/net/ |
H A D | URLConnectionTest.java | 595 bytesOut.write(mockResponse.getBody()); 1127 assertEquals("ABCDEFGHIJKLMNOPQ", new String(request.getBody(), "US-ASCII")); 1168 assertEquals(Arrays.toString(requestBody), Arrays.toString(request.getBody())); 1308 assertEquals(Arrays.toString(requestBody), Arrays.toString(request.getBody())); 1347 assertEquals(Arrays.toString(requestBody), Arrays.toString(request.getBody())); 1582 assertEquals(Arrays.toString(requestBody), Arrays.toString(page1.getBody())); 1705 assertEquals("ABC", new String(request.getBody(), "UTF-8")); 1982 @Override public OutputStream getBody() throws IOException {
|
/libcore/luni/src/test/java/libcore/net/http/ |
H A D | HttpResponseCacheTest.java | 183 cached.getBody().close(); 1769 response.setBody(Arrays.copyOfRange(response.getBody(), 0, numBytesToKeep)); 1875 @Override public InputStream getBody() throws IOException { 1876 return response.getBody();
|
Completed in 120 milliseconds