Package | Description |
---|---|
org.apache.http.impl.bootstrap |
Embedded server and server bootstrap.
|
org.apache.http.impl.nio.bootstrap |
Embedded non-blocking server and server bootstrap.
|
org.apache.http.nio.protocol |
Core HTTP protocol execution framework and HTTP protocol handlers
for asynchronous, event driven communication.
|
org.apache.http.protocol |
Core HTTP protocol execution framework and HTTP protocol handlers
for synchronous, blocking communication.
|
Modifier and Type | Field and Description |
---|---|
private HttpProcessor |
ServerBootstrap.httpProcessor |
Modifier and Type | Method and Description |
---|---|
ServerBootstrap |
ServerBootstrap.setHttpProcessor(HttpProcessor httpProcessor)
Assigns
HttpProcessor instance. |
Modifier and Type | Field and Description |
---|---|
private HttpProcessor |
ServerBootstrap.httpProcessor |
Modifier and Type | Method and Description |
---|---|
ServerBootstrap |
ServerBootstrap.setHttpProcessor(HttpProcessor httpProcessor)
Assigns
HttpProcessor instance. |
Modifier and Type | Field and Description |
---|---|
private HttpProcessor |
BasicAsyncRequestExecutionHandler.httppocessor
Deprecated.
|
private HttpProcessor |
PipeliningClientExchangeHandler.httppocessor |
private HttpProcessor |
BasicAsyncClientExchangeHandler.httppocessor |
private HttpProcessor |
HttpAsyncRequester.httpprocessor |
protected HttpProcessor |
NHttpHandlerBase.httpProcessor
Deprecated.
|
private HttpProcessor |
HttpAsyncService.httpProcessor |
Modifier and Type | Method and Description |
---|---|
HttpProcessor |
BasicAsyncRequestExecutionHandler.getHttpProcessor()
Deprecated.
|
HttpProcessor |
HttpAsyncRequestExecutionHandler.getHttpProcessor()
Deprecated.
Returns
HttpProcessor implementation to be used to process
HTTP request and response messages for protocol compliance. |
HttpProcessor |
HttpAsyncService.getHttpProcessor()
Gets the HttpProcessor for this service.
|
Constructor and Description |
---|
AsyncNHttpClientHandler(HttpProcessor httpProcessor,
NHttpRequestExecutionHandler execHandler,
ConnectionReuseStrategy connStrategy,
ByteBufferAllocator allocator,
HttpParams params)
Deprecated.
|
AsyncNHttpClientHandler(HttpProcessor httpProcessor,
NHttpRequestExecutionHandler execHandler,
ConnectionReuseStrategy connStrategy,
HttpParams params)
Deprecated.
|
AsyncNHttpServiceHandler(HttpProcessor httpProcessor,
HttpResponseFactory responseFactory,
ConnectionReuseStrategy connStrategy,
ByteBufferAllocator allocator,
HttpParams params)
Deprecated.
|
AsyncNHttpServiceHandler(HttpProcessor httpProcessor,
HttpResponseFactory responseFactory,
ConnectionReuseStrategy connStrategy,
HttpParams params)
Deprecated.
|
BasicAsyncClientExchangeHandler(HttpAsyncRequestProducer requestProducer,
HttpAsyncResponseConsumer<T> responseConsumer,
FutureCallback<T> callback,
HttpContext localContext,
NHttpClientConnection conn,
HttpProcessor httppocessor,
ConnectionReuseStrategy connReuseStrategy)
Creates new instance of BasicAsyncRequestExecutionHandler.
|
BasicAsyncClientExchangeHandler(HttpAsyncRequestProducer requestProducer,
HttpAsyncResponseConsumer<T> responseConsumer,
HttpContext localContext,
NHttpClientConnection conn,
HttpProcessor httppocessor)
Creates new instance of BasicAsyncRequestExecutionHandler.
|
BasicAsyncRequestExecutionHandler(HttpAsyncRequestProducer requestProducer,
HttpAsyncResponseConsumer<T> responseConsumer,
FutureCallback<T> callback,
HttpContext localContext,
HttpProcessor httppocessor,
ConnectionReuseStrategy reuseStrategy,
HttpParams params)
Deprecated.
|
BasicAsyncRequestExecutionHandler(HttpAsyncRequestProducer requestProducer,
HttpAsyncResponseConsumer<T> responseConsumer,
HttpContext localContext,
HttpProcessor httppocessor,
ConnectionReuseStrategy reuseStrategy,
HttpParams params)
Deprecated.
|
BufferingHttpClientHandler(HttpProcessor httpProcessor,
HttpRequestExecutionHandler execHandler,
ConnectionReuseStrategy connStrategy,
ByteBufferAllocator allocator,
HttpParams params)
Deprecated.
|
BufferingHttpClientHandler(HttpProcessor httpProcessor,
HttpRequestExecutionHandler execHandler,
ConnectionReuseStrategy connStrategy,
HttpParams params)
Deprecated.
|
BufferingHttpServiceHandler(HttpProcessor httpProcessor,
HttpResponseFactory responseFactory,
ConnectionReuseStrategy connStrategy,
ByteBufferAllocator allocator,
HttpParams params)
Deprecated.
|
BufferingHttpServiceHandler(HttpProcessor httpProcessor,
HttpResponseFactory responseFactory,
ConnectionReuseStrategy connStrategy,
HttpParams params)
Deprecated.
|
HttpAsyncRequester(HttpProcessor httpprocessor)
Creates new instance of HttpAsyncRequester.
|
HttpAsyncRequester(HttpProcessor httpprocessor,
ConnectionReuseStrategy connReuseStrategy)
Creates new instance of HttpAsyncRequester.
|
HttpAsyncRequester(HttpProcessor httpprocessor,
ConnectionReuseStrategy connReuseStrategy,
ExceptionLogger exceptionLogger)
Creates new instance of
HttpAsyncRequester . |
HttpAsyncRequester(HttpProcessor httpprocessor,
ConnectionReuseStrategy reuseStrategy,
HttpParams params)
Deprecated.
|
HttpAsyncService(HttpProcessor httpProcessor,
ConnectionReuseStrategy connStrategy,
HttpAsyncRequestHandlerResolver handlerResolver,
HttpParams params)
|
HttpAsyncService(HttpProcessor httpProcessor,
ConnectionReuseStrategy connStrategy,
HttpResponseFactory responseFactory,
HttpAsyncRequestHandlerMapper handlerMapper,
HttpAsyncExpectationVerifier expectationVerifier)
Creates new instance of
HttpAsyncServerProtocolHandler . |
HttpAsyncService(HttpProcessor httpProcessor,
ConnectionReuseStrategy connStrategy,
HttpResponseFactory responseFactory,
HttpAsyncRequestHandlerMapper handlerMapper,
HttpAsyncExpectationVerifier expectationVerifier,
ExceptionLogger exceptionLogger)
Creates new instance of
HttpAsyncServerProtocolHandler . |
HttpAsyncService(HttpProcessor httpProcessor,
ConnectionReuseStrategy connStrategy,
HttpResponseFactory responseFactory,
HttpAsyncRequestHandlerResolver handlerResolver,
HttpAsyncExpectationVerifier expectationVerifier,
HttpParams params)
|
HttpAsyncService(HttpProcessor httpProcessor,
HttpAsyncRequestHandlerMapper handlerMapper)
Creates new instance of
HttpAsyncServerProtocolHandler . |
HttpAsyncService(HttpProcessor httpProcessor,
HttpAsyncRequestHandlerMapper handlerMapper,
ExceptionLogger exceptionLogger)
Creates new instance of
HttpAsyncServerProtocolHandler . |
NHttpHandlerBase(HttpProcessor httpProcessor,
ConnectionReuseStrategy connStrategy,
ByteBufferAllocator allocator,
HttpParams params)
Deprecated.
|
PipeliningClientExchangeHandler(java.util.List<? extends HttpAsyncRequestProducer> requestProducers,
java.util.List<? extends HttpAsyncResponseConsumer<T>> responseConsumers,
FutureCallback<java.util.List<T>> callback,
HttpContext localContext,
NHttpClientConnection conn,
HttpProcessor httppocessor,
ConnectionReuseStrategy connReuseStrategy)
Creates new instance of
PipeliningClientExchangeHandler . |
PipeliningClientExchangeHandler(java.util.List<? extends HttpAsyncRequestProducer> requestProducers,
java.util.List<? extends HttpAsyncResponseConsumer<T>> responseConsumers,
HttpContext localContext,
NHttpClientConnection conn,
HttpProcessor httppocessor)
Creates new instance of
PipeliningClientExchangeHandler . |
ThrottlingHttpClientHandler(HttpProcessor httpProcessor,
HttpRequestExecutionHandler execHandler,
ConnectionReuseStrategy connStrategy,
ByteBufferAllocator allocator,
java.util.concurrent.Executor executor,
HttpParams params)
Deprecated.
|
ThrottlingHttpClientHandler(HttpProcessor httpProcessor,
HttpRequestExecutionHandler execHandler,
ConnectionReuseStrategy connStrategy,
java.util.concurrent.Executor executor,
HttpParams params)
Deprecated.
|
ThrottlingHttpServiceHandler(HttpProcessor httpProcessor,
HttpResponseFactory responseFactory,
ConnectionReuseStrategy connStrategy,
ByteBufferAllocator allocator,
java.util.concurrent.Executor executor,
HttpParams params)
Deprecated.
|
ThrottlingHttpServiceHandler(HttpProcessor httpProcessor,
HttpResponseFactory responseFactory,
ConnectionReuseStrategy connStrategy,
java.util.concurrent.Executor executor,
HttpParams params)
Deprecated.
|
Modifier and Type | Class and Description |
---|---|
class |
BasicHttpProcessor
Deprecated.
(4.3)
|
class |
ImmutableHttpProcessor
Immutable
HttpProcessor . |
Modifier and Type | Field and Description |
---|---|
private HttpProcessor |
HttpService.processor |
Modifier and Type | Method and Description |
---|---|
HttpProcessor |
HttpProcessorBuilder.build() |
Modifier and Type | Method and Description |
---|---|
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 |
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 |
HttpService.setHttpProcessor(HttpProcessor processor)
Deprecated.
(4.1) set
HttpProcessor using constructor |