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

Packages that use HttpRequest
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 HttpRequest in org.apache.http

Subinterfaces of HttpRequest in org.apache.http
`interface` `HttpEntityEnclosingRequest` A request with an entity.

Methods in org.apache.http that return HttpRequest
`HttpRequest` `HttpRequestFactory.newHttpRequest(RequestLine requestline)`
`HttpRequest` `HttpRequestFactory.newHttpRequest(String method, String uri)`
`HttpRequest` `HttpServerConnection.receiveRequestHeader()` Receives the request line and all headers available from this connection.

Methods in org.apache.http with parameters of type HttpRequest
`void` `HttpRequestInterceptor.process(HttpRequest request, HttpContext context)` Processes a request.
`void` `HttpClientConnection.sendRequestHeader(HttpRequest request)` Sends the request line and all headers over the connection.

Uses of HttpRequest in org.apache.http.impl

Methods in org.apache.http.impl that return HttpRequest
`HttpRequest` `DefaultHttpRequestFactory.newHttpRequest(RequestLine requestline)`
`HttpRequest` `DefaultHttpRequestFactory.newHttpRequest(String method, String uri)`
`HttpRequest` `AbstractHttpServerConnection.receiveRequestHeader()`

Methods in org.apache.http.impl that return types with arguments of type HttpRequest
`protected HttpMessageParser<HttpRequest>` `AbstractHttpServerConnection.createRequestParser(SessionInputBuffer buffer, HttpRequestFactory requestFactory, HttpParams params)` Creates an instance of `HttpMessageParser` to be used for parsing HTTP requests received over this connection.
`protected HttpMessageWriter<HttpRequest>` `AbstractHttpClientConnection.createRequestWriter(SessionOutputBuffer buffer, HttpParams params)` Creates an instance of `HttpMessageWriter` to be used for writing out HTTP requests sent over this connection.

Methods in org.apache.http.impl with parameters of type HttpRequest
`void` `AbstractHttpClientConnection.sendRequestHeader(HttpRequest request)`

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

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

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

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

Fields in org.apache.http.impl.nio declared as HttpRequest
`protected HttpRequest` `NHttpConnectionBase.request`

Fields in org.apache.http.impl.nio with type parameters of type HttpRequest
`protected NHttpMessageParser<HttpRequest>` `DefaultNHttpServerConnection.requestParser`
`protected NHttpMessageWriter<HttpRequest>` `DefaultNHttpClientConnection.requestWriter`

Methods in org.apache.http.impl.nio that return HttpRequest
`HttpRequest` `NHttpConnectionBase.getHttpRequest()`

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

Methods in org.apache.http.impl.nio with parameters of type HttpRequest
`protected void` `DefaultNHttpServerConnection.onRequestReceived(HttpRequest request)`
`protected void` `DefaultNHttpClientConnection.onRequestSubmitted(HttpRequest request)`
`void` `DefaultNHttpClientConnection.submitRequest(HttpRequest request)`

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

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

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

Uses of HttpRequest in org.apache.http.message

Classes in org.apache.http.message that implement HttpRequest
`class` `BasicHttpEntityEnclosingRequest` Basic implementation of `HttpEntityEnclosingRequest`.
`class` `BasicHttpRequest` Basic implementation of `HttpRequest`.

Uses of HttpRequest in org.apache.http.nio

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

Methods in org.apache.http.nio with parameters of type HttpRequest
`void` `NHttpClientConnection.submitRequest(HttpRequest request)` Submits `HttpRequest` to be sent to the target server.

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

Methods in org.apache.http.nio.protocol that return HttpRequest
`protected HttpRequest` `BasicAsyncRequestConsumer.buildResult(HttpContext context)`
`HttpRequest` `BasicAsyncRequestProducer.generateRequest()`
`HttpRequest` `HttpAsyncRequestProducer.generateRequest()` Invoked to generate a HTTP request message head.
`HttpRequest` `BasicAsyncRequestExecutionHandler.generateRequest()`
`HttpRequest` `AsyncNHttpServiceHandler.ServerConnState.getRequest()`
`HttpRequest` `HttpAsyncExchange.getRequest()` Returns the received HTTP request message.
`HttpRequest` `AsyncNHttpClientHandler.ClientConnState.getRequest()`
`HttpRequest` `NHttpRequestExecutionHandler.submitRequest(HttpContext context)` Deprecated. Triggered when the underlying connection is ready to send a new HTTP request to the target host.
`HttpRequest` `HttpRequestExecutionHandler.submitRequest(HttpContext context)` Deprecated. Triggered when the underlying connection is ready to send a new HTTP request to the target host.

Methods in org.apache.http.nio.protocol that return types with arguments of type HttpRequest
`HttpAsyncRequestConsumer<HttpRequest>` `BasicAsyncRequestHandler.processRequest(HttpRequest request, HttpContext context)`

Methods in org.apache.http.nio.protocol with parameters of type HttpRequest
`protected boolean` `NHttpHandlerBase.canResponseHaveBody(HttpRequest request, HttpResponse response)` Deprecated.
`void` `BasicAsyncRequestHandler.handle(HttpRequest request, HttpAsyncExchange httpexchange, HttpContext context)`
`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.
`protected void` `BasicAsyncRequestConsumer.onRequestReceived(HttpRequest request)`
`protected abstract void` `AbstractAsyncRequestConsumer.onRequestReceived(HttpRequest request)` Invoked when a HTTP request message is received.
`HttpAsyncRequestConsumer<HttpRequest>` `BasicAsyncRequestHandler.processRequest(HttpRequest request, HttpContext context)`
`HttpAsyncRequestConsumer<T>` `HttpAsyncRequestHandler.processRequest(HttpRequest request, HttpContext context)` Triggered when an incoming request is received.
`void` `HttpAsyncRequestConsumer.requestReceived(HttpRequest request)` Invoked when a HTTP request message is received.
`void` `AbstractAsyncRequestConsumer.requestReceived(HttpRequest request)` Use `AbstractAsyncRequestConsumer.onRequestReceived(HttpRequest)` instead.
`void` `AsyncNHttpServiceHandler.ServerConnState.setRequest(HttpRequest request)`
`void` `AsyncNHttpClientHandler.ClientConnState.setRequest(HttpRequest request)`

Constructors in org.apache.http.nio.protocol with parameters of type HttpRequest
`BasicAsyncRequestProducer(HttpHost target, HttpRequest request)` Creates a producer that can be used to transmit the given request message.

Uses of HttpRequest in org.apache.http.protocol

Methods in org.apache.http.protocol with parameters of type HttpRequest
`protected boolean` `HttpRequestExecutor.canResponseHaveBody(HttpRequest request, HttpResponse response)` Decide whether a response comes with an entity.
`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.
`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.
`HttpResponse` `HttpRequestExecutor.execute(HttpRequest request, HttpClientConnection conn, HttpContext context)` Sends the request and obtain a response.
`void` `HttpRequestHandler.handle(HttpRequest request, HttpResponse response, HttpContext context)` Handles the request and produces a response to be sent back to the client.
`void` `HttpRequestExecutor.preProcess(HttpRequest request, HttpProcessor processor, HttpContext context)` Pre-process the given request using the given protocol processor and initiates the process of request execution.
`void` `RequestTargetHost.process(HttpRequest request, HttpContext context)`
`void` `RequestUserAgent.process(HttpRequest request, HttpContext context)`
`void` `BasicHttpProcessor.process(HttpRequest request, HttpContext context)`
`void` `RequestConnControl.process(HttpRequest request, HttpContext context)`
`void` `RequestDate.process(HttpRequest request, HttpContext context)`
`void` `ImmutableHttpProcessor.process(HttpRequest request, HttpContext context)`
`void` `RequestContent.process(HttpRequest request, HttpContext context)`
`void` `RequestExpectContinue.process(HttpRequest request, 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.