## Uses of Interface
org.apache.http.HttpResponse

Packages that use HttpResponse
org.apache.http: Core HTTP components based on the blocking I/O model.
org.apache.http.impl: Default implementations for interfaces in `org.apache.http`.
org.apache.http.impl.io: Default implementations for interfaces in `org.apache.http.io`.
org.apache.http.impl.nio: Default implementations for interfaces in `org.apache.http.nio`.
org.apache.http.impl.nio.codecs: Default implementations for interfaces in `org.apache.http.nio.codecs`.
org.apache.http.message: Basic HTTP message implementations.
org.apache.http.nio: Core HTTP components based on the non-blocking I/O model.
org.apache.http.nio.protocol: Asynchronous HTTP protocol handlers based on the non-blocking I/O model.
org.apache.http.protocol: HTTP protocol execution framework and synchronous HTTP protocol handlers based on the blocking I/O model.

Uses of HttpResponse in org.apache.http

Methods in org.apache.http that return HttpResponse
`HttpResponse` `HttpResponseFactory.newHttpResponse(ProtocolVersion ver, int status, HttpContext context)` Creates a new response from status line elements.
`HttpResponse` `HttpResponseFactory.newHttpResponse(StatusLine statusline, HttpContext context)` Creates a new response from a status line.
`HttpResponse` `HttpClientConnection.receiveResponseHeader()` Receives the request line and headers of the next response available from this connection.

Methods in org.apache.http with parameters of type HttpResponse
`boolean` `ConnectionReuseStrategy.keepAlive(HttpResponse response, HttpContext context)` Decides whether a connection can be kept open after a request.
`void` `HttpResponseInterceptor.process(HttpResponse response, HttpContext context)` Processes a response.
`void` `HttpClientConnection.receiveResponseEntity(HttpResponse response)` Receives the next response entity available from this connection and attaches it to an existing HttpResponse object.
`void` `HttpServerConnection.sendResponseEntity(HttpResponse response)` Sends the response entity of a response over this connection.
`void` `HttpServerConnection.sendResponseHeader(HttpResponse response)` Sends the response line and headers of a response over this connection.

Uses of HttpResponse in org.apache.http.impl

Methods in org.apache.http.impl that return HttpResponse
`HttpResponse` `DefaultHttpResponseFactory.newHttpResponse(ProtocolVersion ver, int status, HttpContext context)`
`HttpResponse` `DefaultHttpResponseFactory.newHttpResponse(StatusLine statusline, HttpContext context)`
`HttpResponse` `AbstractHttpClientConnection.receiveResponseHeader()`

Methods in org.apache.http.impl that return types with arguments of type HttpResponse
`protected HttpMessageParser<HttpResponse>` `AbstractHttpClientConnection.createResponseParser(SessionInputBuffer buffer, HttpResponseFactory responseFactory, HttpParams params)` Creates an instance of `HttpMessageParser` to be used for parsing HTTP responses received over this connection.
`protected HttpMessageWriter<HttpResponse>` `AbstractHttpServerConnection.createResponseWriter(SessionOutputBuffer buffer, HttpParams params)` Creates an instance of `HttpMessageWriter` to be used for writing out HTTP responses sent over this connection.

Methods in org.apache.http.impl with parameters of type HttpResponse
`boolean` `DefaultConnectionReuseStrategy.keepAlive(HttpResponse response, HttpContext context)`
`boolean` `NoConnectionReuseStrategy.keepAlive(HttpResponse response, HttpContext context)`
`void` `AbstractHttpClientConnection.receiveResponseEntity(HttpResponse response)`
`void` `AbstractHttpServerConnection.sendResponseEntity(HttpResponse response)`
`void` `AbstractHttpServerConnection.sendResponseHeader(HttpResponse response)`

Uses of HttpResponse in org.apache.http.impl.io

Methods in org.apache.http.impl.io that return HttpResponse
`protected HttpResponse` `DefaultHttpResponseParser.parseHead(SessionInputBuffer sessionBuffer)`

Methods in org.apache.http.impl.io with parameters of type HttpResponse
`protected void` `HttpResponseWriter.writeHeadLine(HttpResponse message)`

Uses of HttpResponse in org.apache.http.impl.nio

Fields in org.apache.http.impl.nio declared as HttpResponse
`protected HttpResponse` `NHttpConnectionBase.response`

Fields in org.apache.http.impl.nio with type parameters of type HttpResponse
`protected NHttpMessageParser<HttpResponse>` `DefaultNHttpClientConnection.responseParser`
`protected NHttpMessageWriter<HttpResponse>` `DefaultNHttpServerConnection.responseWriter`

Methods in org.apache.http.impl.nio that return HttpResponse
`HttpResponse` `NHttpConnectionBase.getHttpResponse()`

Methods in org.apache.http.impl.nio that return types with arguments of type HttpResponse
`protected NHttpMessageParser<HttpResponse>` `DefaultNHttpClientConnection.createResponseParser(SessionInputBuffer buffer, HttpResponseFactory responseFactory, HttpParams params)` Creates an instance of `NHttpMessageParser` to be used by this connection for parsing incoming `HttpResponse` messages.
`protected NHttpMessageWriter<HttpResponse>` `DefaultNHttpServerConnection.createResponseWriter(SessionOutputBuffer buffer, HttpParams params)` Creates an instance of `NHttpMessageWriter` to be used by this connection for writing out outgoing `HttpResponse` messages.

Methods in org.apache.http.impl.nio with parameters of type HttpResponse
`protected void` `DefaultNHttpClientConnection.onResponseReceived(HttpResponse response)`
`protected void` `DefaultNHttpServerConnection.onResponseSubmitted(HttpResponse response)`
`void` `DefaultNHttpServerConnection.submitResponse(HttpResponse response)`

Uses of HttpResponse in org.apache.http.impl.nio.codecs

Methods in org.apache.http.impl.nio.codecs that return HttpResponse
`protected HttpResponse` `DefaultHttpResponseParser.createMessage(CharArrayBuffer buffer)`

Methods in org.apache.http.impl.nio.codecs with parameters of type HttpResponse
`protected void` `DefaultHttpResponseWriter.writeHeadLine(HttpResponse message)`

Uses of HttpResponse in org.apache.http.message

Classes in org.apache.http.message that implement HttpResponse
`class` `BasicHttpResponse` Basic implementation of `HttpResponse`.

Uses of HttpResponse in org.apache.http.nio

Methods in org.apache.http.nio that return HttpResponse
`HttpResponse` `NHttpConnection.getHttpResponse()` Returns the current HTTP response if one is being received / transmitted.

Methods in org.apache.http.nio with parameters of type HttpResponse
`void` `NHttpServerConnection.submitResponse(HttpResponse response)` Submits {link @HttpResponse} to be sent to the client.

Uses of HttpResponse in org.apache.http.nio.protocol

Methods in org.apache.http.nio.protocol that return HttpResponse
`protected HttpResponse` `BasicAsyncResponseConsumer.buildResult(HttpContext context)`
`HttpResponse` `HttpAsyncResponseProducer.generateResponse()` Invoked to generate a HTTP response message head.
`HttpResponse` `BasicAsyncResponseProducer.generateResponse()`
`HttpResponse` `AsyncNHttpServiceHandler.ServerConnState.getResponse()`
`HttpResponse` `HttpAsyncExchange.getResponse()` Returns the default HTTP response message.
`HttpResponse` `AsyncNHttpClientHandler.ClientConnState.getResponse()`

Methods in org.apache.http.nio.protocol with parameters of type HttpResponse
`protected boolean` `NHttpHandlerBase.canResponseHaveBody(HttpRequest request, HttpResponse response)` Deprecated.
`abstract void` `SimpleNHttpRequestHandler.handle(HttpRequest request, HttpResponse response, HttpContext context)` Deprecated.
`void` `SimpleNHttpRequestHandler.handle(HttpRequest request, HttpResponse response, NHttpResponseTrigger trigger, HttpContext context)` Deprecated.
`void` `NHttpRequestHandler.handle(HttpRequest request, HttpResponse response, NHttpResponseTrigger trigger, HttpContext context)` Deprecated. Initiates processing of the request.
`void` `NHttpRequestExecutionHandler.handleResponse(HttpResponse response, HttpContext context)` Deprecated. Triggered when an HTTP response is ready to be processed.
`void` `HttpRequestExecutionHandler.handleResponse(HttpResponse response, HttpContext context)` Deprecated. Triggered when an HTTP response is ready to be processed.
`protected abstract void` `AbstractAsyncResponseConsumer.onResponseReceived(HttpResponse response)` Invoked when a HTTP response message is received.
`protected void` `BasicAsyncResponseConsumer.onResponseReceived(HttpResponse response)`
`protected void` `AsyncNHttpServiceHandler.responseComplete(HttpResponse response, HttpContext context)` Deprecated. Signals that this response has been fully sent.
`ConsumingNHttpEntity` `NHttpRequestExecutionHandler.responseEntity(HttpResponse response, HttpContext context)` Deprecated. Triggered when a response is received with an entity.
`void` `AbstractAsyncResponseConsumer.responseReceived(HttpResponse response)` Use `AbstractAsyncResponseConsumer.onResponseReceived(HttpResponse)` instead.
`void` `HttpAsyncResponseConsumer.responseReceived(HttpResponse response)` Invoked when a HTTP response message is received.
`void` `BasicAsyncRequestExecutionHandler.responseReceived(HttpResponse response)`
`void` `AsyncNHttpServiceHandler.ServerConnState.setResponse(HttpResponse response)`
`void` `AsyncNHttpClientHandler.ClientConnState.setResponse(HttpResponse response)`
`void` `NHttpResponseTrigger.submitResponse(HttpResponse response)` Deprecated. Submits a response to be sent back to the client as a result of processing of the request.

Constructors in org.apache.http.nio.protocol with parameters of type HttpResponse
`BasicAsyncResponseProducer(HttpResponse response)` Creates a producer that can be used to transmit the given response message.
`BasicAsyncResponseProducer(HttpResponse response, HttpAsyncContentProducer producer)` Creates a producer that can be used to transmit the given response message.

Uses of HttpResponse in org.apache.http.protocol

Methods in org.apache.http.protocol that return HttpResponse
`protected HttpResponse` `HttpRequestExecutor.doReceiveResponse(HttpRequest request, HttpClientConnection conn, HttpContext context)` Waits for and receives a response.
`protected HttpResponse` `HttpRequestExecutor.doSendRequest(HttpRequest request, HttpClientConnection conn, HttpContext context)` Send the given request over the given connection.
`HttpResponse` `HttpRequestExecutor.execute(HttpRequest request, HttpClientConnection conn, HttpContext context)` Sends the request and obtain a response.

Methods in org.apache.http.protocol with parameters of type HttpResponse
`protected boolean` `HttpRequestExecutor.canResponseHaveBody(HttpRequest request, HttpResponse response)` Decide whether a response comes with an entity.
`protected void` `HttpService.doService(HttpRequest request, HttpResponse response, HttpContext context)` The default implementation of this method attempts to resolve an `HttpRequestHandler` for the request URI of the given request and, if found, executes its `HttpRequestHandler.handle(HttpRequest, HttpResponse, HttpContext)` method.
`void` `HttpRequestHandler.handle(HttpRequest request, HttpResponse response, HttpContext context)` Handles the request and produces a response to be sent back to the client.
`protected void` `HttpService.handleException(HttpException ex, HttpResponse response)` Handles the given exception and generates an HTTP response to be sent back to the client to inform about the exceptional condition encountered in the course of the request processing.
`void` `HttpRequestExecutor.postProcess(HttpResponse response, HttpProcessor processor, HttpContext context)` Post-processes the given response using the given protocol processor and completes the process of request execution.
`void` `ResponseConnControl.process(HttpResponse response, HttpContext context)`
`void` `ResponseServer.process(HttpResponse response, HttpContext context)`
`void` `BasicHttpProcessor.process(HttpResponse response, HttpContext context)`
`void` `ResponseContent.process(HttpResponse response, HttpContext context)` Processes the response (possibly updating or inserting) Content-Length and Transfer-Encoding headers.
`void` `ResponseDate.process(HttpResponse response, HttpContext context)`
`void` `ImmutableHttpProcessor.process(HttpResponse response, HttpContext context)`
`void` `HttpExpectationVerifier.verify(HttpRequest request, HttpResponse response, HttpContext context)` Verifies whether the given request meets the server's expectations.

Copyright © 2005-2013 The Apache Software Foundation. All Rights Reserved.