Home
last modified time | relevance | path

Searched refs:setChunkedBody (Results 1 – 8 of 8) sorted by relevance

/external/mockwebserver/src/main/java/com/google/mockwebserver/
DMockResponse.java186 public MockResponse setChunkedBody(byte[] body, int maxChunkSize) { in setChunkedBody() method in MockResponse
214 public MockResponse setChunkedBody(String body, int maxChunkSize) { in setChunkedBody() method in MockResponse
216 return setChunkedBody(body.getBytes("UTF-8"), maxChunkSize); in setChunkedBody()
/external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/mockwebserver/
DMockResponse.java162 public MockResponse setChunkedBody(Buffer body, int maxChunkSize) { in setChunkedBody() method in MockResponse
184 public MockResponse setChunkedBody(String body, int maxChunkSize) { in setChunkedBody() method in MockResponse
185 return setChunkedBody(new Buffer().writeUtf8(body), maxChunkSize); in setChunkedBody()
/external/okhttp/benchmarks/src/main/java/com/squareup/okhttp/benchmarks/
DBenchmark.java197 result.setChunkedBody(body, 1024); in newResponse()
/external/okhttp/okhttp-logging-interceptor/src/test/java/com/squareup/okhttp/logging/
DHttpLoggingInterceptorTest.java503 .setChunkedBody("Hello!", 2) in bodyResponseBodyChunked()
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DURLConnectionTest.java205 .setChunkedBody("ABCDE\nFGHIJ\nKLMNO\nPQR", 8)); in responseHeaders()
337 MockResponse response = new MockResponse().setChunkedBody("ABCDE\nFGHIJ\nKLMNO\nPQR", 8); in bug2939()
374 MockResponse response = new MockResponse().setChunkedBody("ABCDEFGHIJKLMNOPQR", 5); in chunkedConnectionsArePooled()
767 mockResponse.setChunkedBody("abc", 3); in contentDisagreesWithChunkedHeaderBodyTooLong()
781 mockResponse.setChunkedBody("abcde", 5); in contentDisagreesWithChunkedHeaderBodyTooShort()
3312 response.setChunkedBody(content, chunkSize);
DCacheTest.java2272 response.setChunkedBody(content, chunkSize); in CHUNKED()
/external/okhttp/okhttp-urlconnection/src/test/java/com/squareup/okhttp/
DUrlConnectionCacheTest.java1796 response.setChunkedBody(content, chunkSize);
/external/okhttp/okhttp-android-support/src/test/java/com/squareup/okhttp/internal/huc/
DResponseCacheTest.java1771 response.setChunkedBody(content, chunkSize); in CHUNKED()