/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
D | ResponseBody.java | 30 public abstract class ResponseBody implements Closeable { class 99 public static ResponseBody create(MediaType contentType, String content) { in create() 113 public static ResponseBody create(final MediaType contentType, byte[] content) { in create() 119 public static ResponseBody create( in create() 122 return new ResponseBody() { in create()
|
D | Response.java | 43 private final ResponseBody body; 129 public ResponseBody body() { in body() 228 private ResponseBody body; 304 public Builder body(ResponseBody body) { in body()
|
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/ |
D | ResponseBody.java | 34 public abstract class ResponseBody implements Closeable { class 103 public static ResponseBody create(MediaType contentType, String content) { in create() 117 public static ResponseBody create(final MediaType contentType, byte[] content) { in create() 123 public static ResponseBody create( in create() 126 return new ResponseBody() { in create()
|
D | Response.java | 49 private final ResponseBody body; 136 public ResponseBody body() { in body() 238 private ResponseBody body; 314 public Builder body(ResponseBody body) { in body()
|
/external/okhttp/samples/guide/src/main/java/com/squareup/okhttp/recipes/ |
D | Progress.java | 22 import com.squareup.okhttp.ResponseBody; 68 private static class ProgressResponseBody extends ResponseBody { 70 private final ResponseBody responseBody; 74 public ProgressResponseBody(ResponseBody responseBody, ProgressListener progressListener) { in ProgressResponseBody()
|
D | WebSocketEcho.java | 7 import com.squareup.okhttp.ResponseBody; 50 @Override public void onMessage(ResponseBody message) throws IOException { in onMessage()
|
/external/okhttp/okhttp-ws/src/main/java/com/squareup/okhttp/ws/ |
D | WebSocketListener.java | 19 import com.squareup.okhttp.ResponseBody; 55 void onMessage(ResponseBody message) throws IOException; in onMessage()
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/ |
D | HttpStream.java | 21 import com.squareup.okhttp.ResponseBody; 52 ResponseBody openResponseBody(Response response) throws IOException; in openResponseBody()
|
D | RealResponseBody.java | 20 import com.squareup.okhttp.ResponseBody; 23 public final class RealResponseBody extends ResponseBody {
|
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/http/ |
D | RealResponseBody.java | 21 import com.android.okhttp.ResponseBody; 27 public final class RealResponseBody extends ResponseBody {
|
D | HttpStream.java | 22 import com.android.okhttp.ResponseBody; 56 ResponseBody openResponseBody(Response response) throws IOException; in openResponseBody()
|
/external/okhttp/okhttp-ws-tests/src/main/java/com/squareup/okhttp/ws/ |
D | AutobahnTester.java | 22 import com.squareup.okhttp.ResponseBody; 85 @Override public void onMessage(final ResponseBody message) throws IOException { in runTest() 139 @Override public void onMessage(ResponseBody message) throws IOException { in getTestCount() 176 @Override public void onMessage(ResponseBody message) throws IOException { in updateReports()
|
/external/okhttp/okhttp-ws-tests/src/test/java/com/squareup/okhttp/internal/ws/ |
D | WebSocketReaderTest.java | 18 import com.squareup.okhttp.ResponseBody; 156 @Override public void onMessage(ResponseBody message) throws IOException { in serverHelloTwoChunks() 257 @Override public void onMessage(ResponseBody body) throws IOException { in noCloseErrors() 275 @Override public void onMessage(ResponseBody message) throws IOException { in closeExhaustsMessage() 297 @Override public void onMessage(ResponseBody message) throws IOException { in closeExhaustsMessageOverControlFrames() 317 @Override public void onMessage(ResponseBody message) throws IOException { in closedMessageSourceThrows()
|
/external/okhttp/samples/simple-client/src/main/java/com/squareup/okhttp/sample/ |
D | OkHttpContributors.java | 8 import com.squareup.okhttp.ResponseBody; 38 ResponseBody body = response.body(); in main()
|
/external/okhttp/repackaged/okhttp-android-support/src/main/java/com/android/okhttp/internal/huc/ |
D | JavaApiConverter.java | 25 import com.android.okhttp.ResponseBody; 113 ResponseBody okBody = createOkBody(urlConnection); in createOkResponseForCachePut() 236 ResponseBody okBody = createOkBody(okHeaders, javaResponse); in createOkResponseForCacheGet() 293 final ResponseBody body = response.body(); in createJavaCacheResponse() 474 private static ResponseBody createOkBody(final Headers okHeaders, 476 return new ResponseBody() { 502 private static ResponseBody createOkBody(final URLConnection urlConnection) { 506 return new ResponseBody() {
|
/external/okhttp/okhttp-android-support/src/main/java/com/squareup/okhttp/internal/huc/ |
D | JavaApiConverter.java | 24 import com.squareup.okhttp.ResponseBody; 111 ResponseBody okBody = createOkBody(urlConnection); in createOkResponseForCachePut() 234 ResponseBody okBody = createOkBody(okHeaders, javaResponse); in createOkResponseForCacheGet() 291 final ResponseBody body = response.body(); in createJavaCacheResponse() 472 private static ResponseBody createOkBody(final Headers okHeaders, 474 return new ResponseBody() { 500 private static ResponseBody createOkBody(final URLConnection urlConnection) { 504 return new ResponseBody() {
|
/external/okhttp/okhttp-ws/src/main/java/com/squareup/okhttp/internal/ws/ |
D | WebSocketReader.java | 19 import com.squareup.okhttp.ResponseBody; 55 void onMessage(ResponseBody body) throws IOException; in onMessage() 227 ResponseBody body = new ResponseBody() { in readMessageFrame()
|
D | RealWebSocket.java | 20 import com.squareup.okhttp.ResponseBody; 61 @Override public void onMessage(ResponseBody message) throws IOException { in RealWebSocket()
|
/external/exoplayer/tree/extensions/okhttp/src/test/java/com/google/android/exoplayer2/ext/okhttp/ |
D | OkHttpDataSourceTest.java | 31 import okhttp3.ResponseBody; 113 .body(ResponseBody.create(MediaType.parse("text/plain"), "")) in open_setsCorrectHeaders()
|
/external/okhttp/benchmarks/src/main/java/com/squareup/okhttp/benchmarks/ |
D | OkHttpAsync.java | 24 import com.squareup.okhttp.ResponseBody; 73 ResponseBody body = response.body(); in prepare()
|
/external/okhttp/okhttp-ws-tests/src/test/java/com/squareup/okhttp/ws/ |
D | WebSocketRecorder.java | 20 import com.squareup.okhttp.ResponseBody; 36 void onMessage(ResponseBody message) throws IOException; in onMessage() 50 @Override public void onMessage(ResponseBody message) throws IOException { in onMessage()
|
D | WebSocketCallTest.java | 22 import com.squareup.okhttp.ResponseBody; 222 @Override public void onMessage(ResponseBody message) throws IOException { in awaitWebSocket() 256 @Override public void onMessage(ResponseBody message) throws IOException { in onMessage()
|
/external/downloader/src/main/java/com/google/android/downloader/ |
D | OkHttp3UrlEngine.java | 38 import okhttp3.ResponseBody; 184 try (ResponseBody body = checkNotNull(response.body())) { in readResponseBody()
|
D | OkHttp2UrlEngine.java | 31 import com.squareup.okhttp.ResponseBody; 188 try (ResponseBody body = checkNotNull(response.body())) { in readResponseBody()
|
/external/okhttp/okhttp-android-support/src/test/java/com/squareup/okhttp/internal/huc/ |
D | JavaApiConverterTest.java | 25 import com.squareup.okhttp.ResponseBody; 349 ResponseBody responseBody = createResponseBody("BodyText"); in createJavaUrlConnection_responseHeadersOk() 529 ResponseBody responseBody = createResponseBody("ResponseBody"); in createJavaCacheResponse_httpPost() 553 ResponseBody responseBody = createResponseBody("ResponseBody"); in createJavaCacheResponse_httpsPost() 662 private static ResponseBody createResponseBody(String bodyText) { in createResponseBody() 665 return new ResponseBody() { in createResponseBody()
|