Home
last modified time | relevance | path

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

12

/external/okhttp/repackaged/okhttp-urlconnection/src/main/java/com/android/okhttp/internal/huc/
DHttpURLConnectionImpl.java154 HttpEngine response = getResponse(); in getErrorStream()
155 if (HttpEngine.hasBody(response.getResponse()) in getErrorStream()
156 && response.getResponse().code() >= HTTP_BAD_REQUEST) { in getErrorStream()
157 return response.getResponse().body().byteStream(); in getErrorStream()
167 Response response = getResponse().getResponse(); in getHeaders()
210 ? StatusLine.get(getResponse().getResponse()).toString() in getHeaderField()
228 StatusLine.get(getResponse().getResponse()).toString()); in getHeaderFields()
248 HttpEngine response = getResponse(); in getInputStream()
258 return response.getResponse().body().byteStream(); in getInputStream()
403 private HttpEngine getResponse() throws IOException { in getResponse() method in HttpURLConnectionImpl
[all …]
DHttpsURLConnectionImpl.java56 ? delegate.httpEngine.getResponse().handshake() in handshake()
/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-shadows/shadows/httpclient/src/test/java/org/robolectric/shadows/httpclient/
DShadowDefaultRequestDirectorTest.java134 HttpResponse getResponse = requestDirector.execute(null, new HttpGet("http://some.uri"), null); in shouldReturnRequestsByRule_AnyMethod() local
135 assertNotNull(getResponse); in shouldReturnRequestsByRule_AnyMethod()
136 assertThat(getResponse.getStatusLine().getStatusCode()).isEqualTo(200); in shouldReturnRequestsByRule_AnyMethod()
137 assertThat(getStringContent(getResponse)).isEqualTo("a cheery response body"); in shouldReturnRequestsByRule_AnyMethod()
153 HttpResponse getResponse = requestDirector.execute(null, new HttpGet("http://some.uri"), null); in shouldReturnRequestsByRule_KeepsTrackOfOpenContentStreams() local
154 InputStream getResponseStream = getResponse.getEntity().getContent(); in shouldReturnRequestsByRule_KeepsTrackOfOpenContentStreams()
440 public HttpResponse getResponse(HttpRequest request) { in shouldReturnResponseFromHttpResponseGenerator()
/external/sl4a/Common/src/com/googlecode/android_scripting/jsonrpc/
DJsonRpcHandler.java48 public Object getResponse(String request) { in getResponse() method in JsonRpcHandler
50 return getResponse(new JSONObject(request)); in getResponse()
72 public Object getResponse(JSONObject request) { in getResponse() method in JsonRpcHandler
DJsonRpcServer.java72 send(writer, jsonRpcHandler.getResponse(data)); in handleConnection()
/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()
202 HttpServletResponse getResponse() { in getResponse() method in GuiceFilter.Context
DInternalServletModule.java118 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/repackaged/okhttp/src/main/java/com/android/okhttp/
DCall.java245 return getResponse(request, forWebSocket); in proceed()
253 Response getResponse(Request request, boolean forWebSocket) throws IOException { in getResponse() method in Call
323 Response response = engine.getResponse(); in getResponse()
/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-shadows/shadows/httpclient/src/main/java/org/robolectric/shadows/httpclient/
DFakeHttpLayer.java49 public HttpResponse getResponse(HttpRequest request) { in addPendingHttpResponse()
99 return pendingHttpResponses.remove(0).getResponse(httpRequest); in findResponse()
104 return httpResponseRule.getResponse(); in findResponse()
308 public HttpResponse getResponse() throws HttpException, IOException { in getResponse() method in FakeHttpLayer.RequestMatcherResponseRule
DHttpResponseGenerator.java7 public HttpResponse getResponse(HttpRequest request); in getResponse() method
DHttpEntityStub.java52 HttpResponse getResponse() throws HttpException, IOException; 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
/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/
DChallenge.java172 public String getResponse() { in getResponse() method in Challenge
DAuthenticationInfo.java135 public String getResponse() { in getResponse() method in AuthenticationInfo
/external/caliper/caliper/src/main/java/com/google/caliper/runner/
DResultsUploader.java111 logger.fine("Failed upload response: " + e.getResponse().getStatus()); in processTrial()

12