Package | Description |
---|---|
org.apache.hc.core5.http.impl |
Default implementations of core HTTP APIs.
|
org.apache.hc.core5.http.impl.bootstrap |
HTTP/1.1 requester and server bootstrap.
|
org.apache.hc.core5.http.impl.io |
Default implementation of HTTP/1.1 transport based on the classic
(blocking) I/O model.
|
org.apache.hc.core5.http.impl.nio |
Default implementation of HTTP/1.1 transport based on
the asynchronous (non-blocking) I/O model.
|
org.apache.hc.core5.http.protocol |
Core HTTP protocol interceptors.
|
org.apache.hc.core5.http2.impl |
Default implementations of core HTTP/2 APIs.
|
org.apache.hc.core5.http2.impl.nio |
Default implementation of HTTP/2 transport based on
the asynchronous (non-blocking) I/O model.
|
org.apache.hc.core5.http2.impl.nio.bootstrap |
HTTP/2 capable requester and server bootstrap.
|
org.apache.hc.core5.testing.classic | |
org.apache.hc.core5.testing.nio |
Modifier and Type | Method and Description |
---|---|
static HttpProcessor |
HttpProcessors.client()
Creates
HttpProcessor initialized with default protocol interceptors
for client side HTTP/1.1 processing. |
static HttpProcessor |
HttpProcessors.client(String agentInfo)
Creates
HttpProcessor initialized with default protocol interceptors
for client side HTTP/1.1 processing. |
static HttpProcessor |
HttpProcessors.server()
Creates
HttpProcessor initialized with default protocol interceptors
for server side HTTP/1.1 processing. |
static HttpProcessor |
HttpProcessors.server(String serverInfo)
Creates
HttpProcessor initialized with default protocol interceptors
for server side HTTP/1.1 processing. |
Modifier and Type | Method and Description |
---|---|
AsyncRequesterBootstrap |
AsyncRequesterBootstrap.setHttpProcessor(HttpProcessor httpProcessor)
Assigns
HttpProcessor instance. |
ServerBootstrap |
ServerBootstrap.setHttpProcessor(HttpProcessor httpProcessor)
Assigns
HttpProcessor instance. |
RequesterBootstrap |
RequesterBootstrap.setHttpProcessor(HttpProcessor httpProcessor)
Assigns
HttpProcessor instance. |
AsyncServerBootstrap |
AsyncServerBootstrap.setHttpProcessor(HttpProcessor httpProcessor)
Assigns
HttpProcessor instance. |
Constructor and Description |
---|
HttpRequester(HttpRequestExecutor requestExecutor,
HttpProcessor httpProcessor,
ManagedConnPool<HttpHost,HttpClientConnection> connPool,
SocketConfig socketConfig,
HttpConnectionFactory<? extends HttpClientConnection> connectFactory,
SSLSocketFactory sslSocketFactory,
Callback<SSLParameters> sslSetupHandler,
SSLSessionVerifier sslSessionVerifier,
Resolver<HttpHost,InetSocketAddress> addressResolver)
Use
RequesterBootstrap to create instances of this class. |
Modifier and Type | Method and Description |
---|---|
void |
HttpRequestExecutor.postProcess(ClassicHttpResponse 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(ClassicHttpRequest request,
HttpProcessor processor,
HttpContext context)
Pre-process the given request using the given protocol processor and
initiates the process of request execution.
|
HttpService.Builder |
HttpService.Builder.withHttpProcessor(HttpProcessor processor) |
Modifier and Type | Class and Description |
---|---|
class |
DefaultHttpProcessor
Default immutable implementation of
HttpProcessor . |
Modifier and Type | Method and Description |
---|---|
HttpProcessor |
HttpProcessorBuilder.build() |
Modifier and Type | Method and Description |
---|---|
static HttpProcessor |
H2Processors.client() |
static HttpProcessor |
H2Processors.client(String agentInfo) |
static HttpProcessor |
H2Processors.server() |
static HttpProcessor |
H2Processors.server(String serverInfo) |
Modifier and Type | Method and Description |
---|---|
H2MultiplexingRequesterBootstrap |
H2MultiplexingRequesterBootstrap.setHttpProcessor(HttpProcessor httpProcessor)
Assigns
HttpProcessor instance. |
H2RequesterBootstrap |
H2RequesterBootstrap.setHttpProcessor(HttpProcessor httpProcessor)
Assigns
HttpProcessor instance. |
H2ServerBootstrap |
H2ServerBootstrap.setHttpProcessor(HttpProcessor httpProcessor)
Assigns
HttpProcessor instance. |
Modifier and Type | Method and Description |
---|---|
void |
ClassicTestServer.start(Http1Config http1Config,
HttpProcessor httpProcessor,
Decorator<HttpServerRequestHandler> handlerDecorator) |
void |
ClassicTestClient.start(HttpProcessor httpProcessor) |
Modifier and Type | Method and Description |
---|---|
InetSocketAddress |
H2TestServer.start(HttpProcessor httpProcessor,
Decorator<AsyncServerExchangeHandler> exchangeHandlerDecorator,
H2Config h2Config) |
InetSocketAddress |
Http1TestServer.start(HttpProcessor httpProcessor,
Decorator<AsyncServerExchangeHandler> exchangeHandlerDecorator,
Http1Config http1Config) |
InetSocketAddress |
H2TestServer.start(HttpProcessor httpProcessor,
Decorator<AsyncServerExchangeHandler> exchangeHandlerDecorator,
Http1Config http1Config) |
void |
H2TestClient.start(HttpProcessor httpProcessor,
H2Config h2Config) |
void |
Http1TestClient.start(HttpProcessor httpProcessor,
Http1Config http1Config) |
void |
H2TestClient.start(HttpProcessor httpProcessor,
Http1Config http1Config) |
InetSocketAddress |
Http1TestServer.start(HttpProcessor httpProcessor,
Http1Config http1Config) |
Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.