HomeSort by relevance Sort by last modified time
    Searched refs:ResponseBody (Results 1 - 25 of 35) sorted by null

1 2

  /external/okhttp/okhttp-ws/src/main/java/com/squareup/okhttp/ws/
WebSocketListener.java 19 import com.squareup.okhttp.ResponseBody;
52 * <p>The {@linkplain ResponseBody#contentType() content type} of {@code message} will be either
55 void onMessage(ResponseBody message) throws IOException;
  /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/
HttpStream.java 21 import com.squareup.okhttp.ResponseBody;
52 ResponseBody openResponseBody(Response response) throws IOException;
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/
HttpStream.java 22 import com.android.okhttp.ResponseBody;
56 ResponseBody openResponseBody(Response response) throws IOException;
RealResponseBody.java 21 import com.android.okhttp.ResponseBody;
27 public final class RealResponseBody extends ResponseBody {
  /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
ResponseBody.java 30 public abstract class ResponseBody implements Closeable {
99 public static ResponseBody create(MediaType contentType, String content) {
113 public static ResponseBody create(final MediaType contentType, byte[] content) {
119 public static ResponseBody create(
122 return new ResponseBody() {
Response.java 43 private final ResponseBody body;
129 public ResponseBody body() {
228 private ResponseBody body;
304 public Builder body(ResponseBody body) {
  /external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/
ResponseBody.java 34 public abstract class ResponseBody implements Closeable {
103 public static ResponseBody create(MediaType contentType, String content) {
117 public static ResponseBody create(final MediaType contentType, byte[] content) {
123 public static ResponseBody create(
126 return new ResponseBody() {
Response.java 49 private final ResponseBody body;
136 public ResponseBody body() {
238 private ResponseBody body;
314 public Builder body(ResponseBody body) {
  /external/okhttp/samples/guide/src/main/java/com/squareup/okhttp/recipes/
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) {
75 this.responseBody = responseBody;
80 return responseBody.contentType();
84 return responseBody.contentLength()
    [all...]
WebSocketEcho.java 7 import com.squareup.okhttp.ResponseBody;
50 @Override public void onMessage(ResponseBody message) throws IOException {
  /external/okhttp/samples/simple-client/src/main/java/com/squareup/okhttp/sample/
OkHttpContributors.java 8 import com.squareup.okhttp.ResponseBody;
38 ResponseBody body = response.body();
  /external/okhttp/benchmarks/src/main/java/com/squareup/okhttp/benchmarks/
OkHttpAsync.java 24 import com.squareup.okhttp.ResponseBody;
73 ResponseBody body = response.body();
  /device/linaro/bootloader/edk2/NetworkPkg/HttpBootDxe/
HttpBootClient.c 749 HTTP_IO_RESPONSE_DATA ResponseBody;
995 ZeroMem (&ResponseBody, sizeof (HTTP_IO_RESPONSE_DATA));
1003 ResponseBody.Body = (CHAR8*) Buffer + ReceivedSize;
1004 ResponseBody.BodyLength = *BufferSize - ReceivedSize;
1008 &ResponseBody
1010 if (EFI_ERROR (Status) || EFI_ERROR (ResponseBody.Status)) {
1011 if (EFI_ERROR (ResponseBody.Status)) {
1012 Status = ResponseBody.Status;
1016 ReceivedSize += ResponseBody.BodyLength;
    [all...]
  /external/okhttp/okhttp-ws-tests/src/main/java/com/squareup/okhttp/ws/
AutobahnTester.java 22 import com.squareup.okhttp.ResponseBody;
85 @Override public void onMessage(final ResponseBody message) throws IOException {
139 @Override public void onMessage(ResponseBody message) throws IOException {
176 @Override public void onMessage(ResponseBody message) throws IOException {
  /external/okhttp/okhttp-ws-tests/src/test/java/com/squareup/okhttp/internal/ws/
WebSocketReaderTest.java 18 import com.squareup.okhttp.ResponseBody;
156 @Override public void onMessage(ResponseBody message) throws IOException {
257 @Override public void onMessage(ResponseBody body) throws IOException {
275 @Override public void onMessage(ResponseBody message) throws IOException {
297 @Override public void onMessage(ResponseBody message) throws IOException {
317 @Override public void onMessage(ResponseBody message) throws IOException {
  /external/okhttp/okhttp-android-support/src/main/java/com/squareup/okhttp/internal/huc/
JavaApiConverter.java 24 import com.squareup.okhttp.ResponseBody;
111 ResponseBody okBody = createOkBody(urlConnection);
234 ResponseBody okBody = createOkBody(okHeaders, javaResponse);
291 final ResponseBody body = response.body();
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/
RealWebSocket.java 20 import com.squareup.okhttp.ResponseBody;
61 @Override public void onMessage(ResponseBody message) throws IOException {
WebSocketReader.java 19 import com.squareup.okhttp.ResponseBody;
55 void onMessage(ResponseBody body) throws IOException;
227 ResponseBody body = new ResponseBody() {
  /external/okhttp/repackaged/okhttp-android-support/src/main/java/com/android/okhttp/internal/huc/
JavaApiConverter.java 25 import com.android.okhttp.ResponseBody;
113 ResponseBody okBody = createOkBody(urlConnection);
236 ResponseBody okBody = createOkBody(okHeaders, javaResponse);
293 final ResponseBody body = response.body();
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-ws-tests/src/test/java/com/squareup/okhttp/ws/
WebSocketCallTest.java 22 import com.squareup.okhttp.ResponseBody;
222 @Override public void onMessage(ResponseBody message) throws IOException {
256 @Override public void onMessage(ResponseBody message) throws IOException {
WebSocketRecorder.java 20 import com.squareup.okhttp.ResponseBody;
36 void onMessage(ResponseBody message) throws IOException;
50 @Override public void onMessage(ResponseBody message) throws IOException {
  /external/okhttp/okhttp-apache/src/main/java/com/squareup/okhttp/apache/
OkApacheClient.java 9 import com.squareup.okhttp.ResponseBody;
84 ResponseBody body = response.body();
  /external/okhttp/okhttp-logging-interceptor/src/main/java/com/squareup/okhttp/logging/
HttpLoggingInterceptor.java 27 import com.squareup.okhttp.ResponseBody;
207 ResponseBody responseBody = response.body();
210 + (!logHeaders ? ", " + responseBody.contentLength() + "-byte body" : "") + ')');
223 BufferedSource source = responseBody.source();
228 MediaType contentType = responseBody.contentType();
233 if (responseBody.contentLength() != 0) {
  /external/okhttp/okhttp-android-support/src/test/java/com/squareup/okhttp/internal/huc/
JavaApiConverterTest.java 25 import com.squareup.okhttp.ResponseBody;
349 ResponseBody responseBody = createResponseBody("BodyText");
358 .addHeader("Content-Length", Long.toString(responseBody.contentLength()))
359 .body(responseBody)
366 assertEquals(responseBody.contentLength(), httpUrlConnection.getContentLength());
529 ResponseBody responseBody = createResponseBody("ResponseBody");
537 .body(responseBody)
    [all...]

Completed in 372 milliseconds

1 2