HomeSort by relevance Sort by last modified time
    Searched refs:responseBody (Results 1 - 14 of 14) sorted by null

  /external/nanohttpd/core/src/test/java/fi/iki/elonen/integration/
GetAndPostIntegrationTest.java 40 String responseBody = httpclient.execute(httpget, responseHandler);
42 assertEquals("GET:testSimpleGetRequest", responseBody);
51 String responseBody = httpclient.execute(httpget, responseHandler);
53 assertEquals("GET:testGetRequestWithParameters-params=2;age=120;gender=Male", responseBody);
62 String responseBody = httpclient.execute(httppost, responseHandler);
64 assertEquals("POST:testPostWithNoParameters", responseBody);
78 String responseBody = httpclient.execute(httppost, responseHandler);
80 assertEquals("POST:testPostRequestWithFormEncodedParameters-params=2;age=120;gender=Male", responseBody);
94 String responseBody = httpclient.execute(httppost, responseHandler);
96 assertEquals("POST:testPostRequestWithMultipartEncodedParameters-params=2;age=120;gender=Male", responseBody);
    [all...]
PutStreamIntegrationTest.java 26 String responseBody = httpclient.execute(httpput, responseHandler);
28 assertEquals("PUT:" + expected, responseBody);
  /external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/
DisconnectTest.java 71 InputStream responseBody = connection.getInputStream();
74 while (responseBody.read(buffer) != -1) {
ThreadInterruptTest.java 72 InputStream responseBody = connection.getInputStream();
75 while (responseBody.read(buffer) != -1) {
JavaApiConverterTest.java 429 Response.Body responseBody =
437 .addHeader("Content-Length", Long.toString(responseBody.contentLength()))
438 .body(responseBody)
444 assertEquals(responseBody.contentLength(), httpUrlConnection.getContentLength());
605 Response.Body responseBody =
606 createResponseBody("text/plain", "ResponseBody".getBytes(StandardCharsets.UTF_8));
612 .body(responseBody)
619 assertArrayEquals(responseBody.bytes(), readAll(javaCacheResponse.getBody()));
629 Response.Body responseBody =
630 createResponseBody("text/plain", "ResponseBody".getBytes(StandardCharsets.UTF_8))
    [all...]
  /external/mockwebserver/src/test/java/com/google/mockwebserver/
MockWebServerTest.java 221 InputStream responseBody = new ByteArrayInputStream("ABC".getBytes("UTF-8"));
222 server.enqueue(new MockResponse().setBody(responseBody, 3));
230 assertEquals(-1, responseBody.read()); // The body is exhausted.
  /external/nanohttpd/core/src/test/java/fi/iki/elonen/
HttpGetRequestTest.java 30 String responseBody = "Success!";
31 testServer.response = new NanoHTTPD.Response(responseBody);
41 responseBody
HttpHeadRequestTest.java 14 String responseBody = "Success!";
15 testServer.response = new NanoHTTPD.Response(responseBody);
  /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/
HttpEngine.java 142 private Source responseBody;
331 return responseBody;
438 if (responseBody == null) {
445 closeQuietly(responseBody);
490 responseBody = new GzipSource(transferSource);
492 responseBody = transferSource;
675 responseBody = responseTransferSource;
  /external/okhttp/okhttp-apache/src/main/java/com/squareup/okhttp/apache/
OkApacheClient.java 157 InputStream responseBody =
160 InputStreamEntity entity = new InputStreamEntity(responseBody, connection.getContentLength());
  /external/okhttp/mockwebserver/src/test/java/com/squareup/okhttp/mockwebserver/
MockWebServerTest.java 281 InputStream responseBody = new ByteArrayInputStream("ABC".getBytes("UTF-8"));
282 server.enqueue(new MockResponse().setBody(responseBody, 3));
290 assertEquals(-1, responseBody.read()); // The body is exhausted.
  /external/chromium_org/media/base/android/java/src/org/chromium/media/
MediaDrmBridge.java 865 byte[] responseBody;
868 responseBody = EntityUtils.toByteArray(response.getEntity());
873 return responseBody
    [all...]
  /external/chromium_org/chrome/common/extensions/docs/examples/extensions/imageinfo/imageinfo/
binaryajax.js 172 this.binaryResponse = new BinaryFile(oHTTP.responseBody, iDataOffset, iDataLen);
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
org.apache.commons.httpclient_3.1.0.v201005080502.jar 

Completed in 324 milliseconds