Home
last modified time | relevance | path

Searched refs:getResponse (Results 1 – 25 of 29) sorted by relevance

12

/external/okhttp/okhttp-urlconnection/src/main/java/com/squareup/okhttp/internal/huc/
DHttpURLConnectionImpl.java150 HttpEngine response = getResponse(); in getErrorStream()
151 if (HttpEngine.hasBody(response.getResponse()) in getErrorStream()
152 && response.getResponse().code() >= HTTP_BAD_REQUEST) { in getErrorStream()
153 return response.getResponse().body().byteStream(); in getErrorStream()
163 Response response = getResponse().getResponse(); in getHeaders()
206 ? StatusLine.get(getResponse().getResponse()).toString() in getHeaderField()
224 StatusLine.get(getResponse().getResponse()).toString()); in getHeaderFields()
244 HttpEngine response = getResponse(); in getInputStream()
254 return response.getResponse().body().byteStream(); in getInputStream()
399 private HttpEngine getResponse() throws IOException { in getResponse() method in HttpURLConnectionImpl
[all …]
DHttpsURLConnectionImpl.java51 ? delegate.httpEngine.getResponse().handshake() in handshake()
/external/guava/guava-tests/test/com/google/common/util/concurrent/
DTestThread.java94 assertSame(null, getResponse(methodName).getResult()); in callAndAssertReturns()
106 assertEquals(expected, getResponse(methodName).getResult()); in callAndAssertReturns()
118 assertEquals(expected, getResponse(methodName).getResult()); in callAndAssertReturns()
131 assertEquals(expected, getResponse(methodName).getThrowable().getClass()); in callAndAssertThrows()
173 assertEquals(null, getResponse(methodName).getResult()); in assertPriorCallReturns()
182 assertEquals(expected, getResponse(methodName).getResult()); in assertPriorCallReturns()
206 private Response getResponse(String methodName) throws Exception { in getResponse() method in TestThread
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DDefaultRequestDirectorTest.java115 … HttpResponse getResponse = requestDirector.execute(null, new HttpGet("http://some.uri"), null); in shouldReturnRequestsByRule_AnyMethod() local
116 assertNotNull(getResponse); in shouldReturnRequestsByRule_AnyMethod()
117 assertThat(getResponse.getStatusLine().getStatusCode(), equalTo(200)); in shouldReturnRequestsByRule_AnyMethod()
118 …assertThat(Strings.fromStream(getResponse.getEntity().getContent()), equalTo("a cheery response bo… in shouldReturnRequestsByRule_AnyMethod()
133 … HttpResponse getResponse = requestDirector.execute(null, new HttpGet("http://some.uri"), null); in shouldReturnRequestsByRule_KeepsTrackOfOpenContentStreams() local
134 InputStream getResponseStream = getResponse.getEntity().getContent(); in shouldReturnRequestsByRule_KeepsTrackOfOpenContentStreams()
354 public HttpResponse getResponse(HttpRequest request) { in shouldReturnResponseFromHttpResponseGenerator()
/external/guice/extensions/servlet/src/com/google/inject/servlet/
DGuiceFilter.java154 static HttpServletResponse getResponse(Key<?> key) { in getResponse() method in GuiceFilter
155 return getContext(key).getResponse(); in getResponse()
193 HttpServletResponse getResponse() { in getResponse() method in GuiceFilter.Context
DInternalServletModule.java110 return GuiceFilter.getResponse(Key.get(HttpServletResponse.class)); in provideHttpServletResponse()
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cert/ocsp/
DOCSPResp.java94 ASN1Primitive obj = ASN1Primitive.fromByteArray(rb.getResponse().getOctets()); in getResponseObject()
103 return rb.getResponse(); in getResponseObject()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
DCall.java243 return getResponse(request, forWebSocket); in proceed()
251 Response getResponse(Request request, boolean forWebSocket) throws IOException { in getResponse() method in Call
321 Response response = engine.getResponse(); in getResponse()
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/tester/org/apache/http/
DFakeHttpLayer.java44 public HttpResponse getResponse(HttpRequest request) { in addPendingHttpResponse()
94 return pendingHttpResponses.remove(0).getResponse(httpRequest); in findResponse()
99 return httpResponseRule.getResponse(); in findResponse()
219 public HttpResponse getResponse() throws HttpException, IOException { in getResponse() method in FakeHttpLayer.RequestMatcherResponseRule
DHttpEntityStub.java53 HttpResponse getResponse() throws HttpException, IOException; in getResponse() method
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DHttpResponseGenerator.java7 public HttpResponse getResponse(HttpRequest request); in getResponse() method
/external/apache-http/src/org/apache/http/impl/client/
DTunnelRefusedException.java54 public HttpResponse getResponse() { in getResponse() method in TunnelRefusedException
/external/nist-sip/java/javax/sip/header/
DAuthenticationInfoHeader.java20 String getResponse(); in getResponse() method
DAuthorizationHeader.java30 String getResponse(); in getResponse() method
/external/nist-sip/java/javax/sip/
DResponseEvent.java23 public Response getResponse() { in getResponse() method in ResponseEvent
/external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/mockwebserver/
DPushPromise.java46 public MockResponse getResponse() { in getResponse() method in PushPromise
DMockWebServer.java972 boolean hasBody = pushPromise.getResponse().getBody() != null;
975 writeResponse(pushedStream, pushPromise.getResponse());
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ocsp/
DResponseBytes.java63 public ASN1OctetString getResponse() in getResponse() method in ResponseBytes
/external/nist-sip/java/gov/nist/javax/sip/header/
DAuthenticationInfo.java135 public String getResponse() { in getResponse() method in AuthenticationInfo
DChallenge.java172 public String getResponse() { in getResponse() method in Challenge
DAuthenticationHeader.java462 public String getResponse() { in getResponse() method in AuthenticationHeader
/external/caliper/caliper/src/main/java/com/google/caliper/runner/
DResultsUploader.java111 logger.fine("Failed upload response: " + e.getResponse().getStatus()); in processTrial()
/external/nist-sip/java/gov/nist/javax/sip/
DEventScanner.java277 .getResponse(); in deliverEvent()
/external/nist-sip/java/gov/nist/javax/sip/stack/
DSIPTransaction.java890 public Response getResponse() { in getResponse() method in SIPTransaction
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/
DHttpEngine.java331 public Response getResponse() { in getResponse() method in HttpEngine

12