Home
last modified time | relevance | path

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

12

/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/
DHttpURLConnectionImpl.java123 HttpEngine response = getResponse(); in getErrorStream()
124 if (response.hasResponseBody() && response.getResponse().code() >= HTTP_BAD_REQUEST) { in getErrorStream()
139 return getResponse().getResponse().headers().value(position); in getHeaderField()
152 Response response = getResponse().getResponse(); in getHeaderField()
161 return getResponse().getResponse().headers().name(position); in getHeaderFieldKey()
169 Response response = getResponse().getResponse(); in getHeaderFields()
190 HttpEngine response = getResponse(); in getInputStream()
315 private HttpEngine getResponse() throws IOException { in getResponse() method in HttpURLConnectionImpl
327 Response response = httpEngine.getResponse(); in getResponse()
342 int responseCode = httpEngine.getResponse().code(); in getResponse()
[all …]
DHttpTransport.java119 if ("close".equalsIgnoreCase(httpEngine.getResponse().header("Connection"))) { in canReuseConnection()
139 if ("chunked".equalsIgnoreCase(httpEngine.getResponse().header("Transfer-Encoding"))) { in getTransferStream()
143 long contentLength = OkHeaders.contentLength(httpEngine.getResponse()); in getTransferStream()
DHttpsURLConnectionImpl.java46 ? delegate.httpEngine.getResponse().handshake() in handshake()
DHttpEngine.java324 public final Response getResponse() { in getResponse() method in HttpEngine
/external/robolectric/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/robolectric/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/src/main/java/com/xtremelabs/robolectric/shadows/
DHttpResponseGenerator.java7 public HttpResponse getResponse(HttpRequest request); in getResponse() method
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
DJob.java76 Response response = getResponse(); in execute()
95 Response getResponse() throws IOException { in getResponse() method in Job
146 Response response = engine.getResponse(); in getResponse()
DOkHttpClient.java434 Response result = job.getResponse(); // Since we don't cancel, this won't be null. in execute()
/external/apache-http/src/org/apache/http/impl/client/
DTunnelRefusedException.java48 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/smack/src/org/jivesoftware/smackx/workgroup/ext/macros/
DMacro.java52 public String getResponse() { in getResponse() method in Macro
DMacroGroup.java128 buf.append("<response>" + macro.getResponse() + "</response>"); in toXML()
/external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/mockwebserver/
DPushPromise.java46 public MockResponse getResponse() { in getResponse() method in PushPromise
DMockWebServer.java756 byte[] pushedBody = pushPromise.getResponse().getBody(); in pushPromises()
759 writeResponse(pushedStream, pushPromise.getResponse()); in pushPromises()
/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
DAuthenticationHeader.java462 public String getResponse() { in getResponse() method in AuthenticationHeader
/external/chromium_org/net/test/android/javatests/src/org/chromium/net/test/util/
DTestWebServer.java393 private HttpResponse getResponse(HttpRequest request) throws InterruptedException { in getResponse() method in TestWebServer
586 HttpResponse response = mServer.getResponse(request); in run()
/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/robolectric/src/main/java/com/xtremelabs/robolectric/tester/org/apache/http/impl/client/
DDefaultRequestDirector.java405 response = ex.getResponse(); in execute()

12