Home
last modified time | relevance | path

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

12

/external/okhttp/okhttp-urlconnection/src/main/java/com/squareup/okhttp/internal/huc/
DHttpURLConnectionImpl.java149 HttpEngine response = getResponse(); in getErrorStream()
150 if (HttpEngine.hasBody(response.getResponse()) in getErrorStream()
151 && response.getResponse().code() >= HTTP_BAD_REQUEST) { in getErrorStream()
152 return response.getResponse().body().byteStream(); in getErrorStream()
162 Response response = getResponse().getResponse(); in getHeaders()
205 ? StatusLine.get(getResponse().getResponse()).toString() in getHeaderField()
223 StatusLine.get(getResponse().getResponse()).toString()); in getHeaderFields()
243 HttpEngine response = getResponse(); in getInputStream()
253 return response.getResponse().body().byteStream(); in getInputStream()
397 private HttpEngine getResponse() throws IOException { in getResponse() method in HttpURLConnectionImpl
[all …]
DHttpsURLConnectionImpl.java51 ? delegate.httpEngine.getResponse().handshake() in handshake()
/external/jetty/src/java/org/eclipse/jetty/http/gzip/
DCompressedResponseWrapper.java195 HttpServletResponse response = (HttpServletResponse)getResponse(); in setContentLength()
250 getResponse().flushBuffer(); in flushBuffer()
418 if (getResponse().isCommitted() || _noCompression) in getOutputStream()
419 return getResponse().getOutputStream(); in getOutputStream()
421 _compressedStream=newCompressedStream(_request,(HttpServletResponse)getResponse()); in getOutputStream()
441 if (getResponse().isCommitted() || _noCompression) in getWriter()
442 return getResponse().getWriter(); in getWriter()
444 _compressedStream=newCompressedStream(_request,(HttpServletResponse)getResponse()); in getWriter()
/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.java224 return getResponse(request, forWebSocket); in proceed()
233 Response getResponse(Request request, boolean forWebSocket) throws IOException { in getResponse() method in Call
293 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/jetty/src/java/org/eclipse/jetty/server/
DServer.java361 final Response response=connection.getResponse(); in handle()
367 …LOG.debug("RESPONSE "+target+" "+connection.getResponse().getStatus()+" handled="+request.isHandl… in handle()
401 final HttpServletResponse response=(HttpServletResponse)async.getResponse(); in handleAsync()
407 LOG.debug("RESPONSE "+target+" "+connection.getResponse().getStatus()); in handleAsync()
DAsyncContinuation.java894 public ServletResponse getResponse() in getResponse() method in AsyncContinuation
898 return _connection.getResponse(); in getResponse()
991 …_connection.getRequest().getServletContext(),_connection.getRequest(),_connection.getResponse()); in startAsync()
1014 …ection.getRequest().getServletContext(),_connection.getRequest(),_connection.getResponse()); in suspend()
1025 return _connection.getResponse(); in getServletResponse()
/external/jetty/src/java/org/eclipse/jetty/servlets/
DIncludableGzipFilter.java148 HttpServletResponse response = (HttpServletResponse)getResponse(); in setHeader()
157 HttpServletResponse response = (HttpServletResponse)getResponse(); in addHeader()
/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
/external/jetty/src/java/org/eclipse/jetty/server/handler/
DErrorHandler.java105 …handleErrorPage(request, writer, connection.getResponse().getStatus(), connection.getResponse().ge… in handle()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ocsp/
DResponseBytes.java63 public ASN1OctetString getResponse() in getResponse() method in ResponseBytes
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/
DHttpTransport.java98 if ("close".equalsIgnoreCase(httpEngine.getResponse().header("Connection"))) { in canReuseConnection()
/external/jetty/src/java/org/eclipse/jetty/servlet/
DDefaultServlet.java700 Response r = Response.getResponse(response); in passConditionalHeaders()
713 Response r = Response.getResponse(response); in passConditionalHeaders()
724 Response r = Response.getResponse(response); in passConditionalHeaders()
738 Response r = Response.getResponse(response); in passConditionalHeaders()
754 Response r = Response.getResponse(response); in passConditionalHeaders()
/external/nist-sip/java/gov/nist/javax/sip/header/
DAuthenticationInfo.java135 public String getResponse() { in getResponse() method in AuthenticationInfo

12