| 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  HttpProcessorinitialized with default protocol interceptors
 for client side HTTP/1.1 processing. | 
| static HttpProcessor | HttpProcessors. client(String agentInfo)Creates  HttpProcessorinitialized with default protocol interceptors
 for client side HTTP/1.1 processing. | 
| static HttpProcessor | HttpProcessors. server()Creates  HttpProcessorinitialized with default protocol interceptors
 for server side HTTP/1.1 processing. | 
| static HttpProcessor | HttpProcessors. server(String serverInfo)Creates  HttpProcessorinitialized with default protocol interceptors
 for server side HTTP/1.1 processing. | 
| Modifier and Type | Method and Description | 
|---|---|
| AsyncRequesterBootstrap | AsyncRequesterBootstrap. setHttpProcessor(HttpProcessor httpProcessor)Assigns  HttpProcessorinstance. | 
| ServerBootstrap | ServerBootstrap. setHttpProcessor(HttpProcessor httpProcessor)Assigns  HttpProcessorinstance. | 
| RequesterBootstrap | RequesterBootstrap. setHttpProcessor(HttpProcessor httpProcessor)Assigns  HttpProcessorinstance. | 
| AsyncServerBootstrap | AsyncServerBootstrap. setHttpProcessor(HttpProcessor httpProcessor)Assigns  HttpProcessorinstance. | 
| 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  RequesterBootstrapto 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. | 
| Constructor and Description | 
|---|
| HttpService(HttpProcessor processor,
           HttpRequestMapper<HttpRequestHandler> handlerMapper,
           ConnectionReuseStrategy connReuseStrategy,
           HttpResponseFactory<ClassicHttpResponse> responseFactory)Create a new HTTP service. | 
| HttpService(HttpProcessor processor,
           HttpRequestMapper<HttpRequestHandler> handlerMapper,
           ConnectionReuseStrategy connReuseStrategy,
           HttpResponseFactory<ClassicHttpResponse> responseFactory,
           Http1StreamListener streamListener)Create a new HTTP service. | 
| HttpService(HttpProcessor processor,
           HttpServerRequestHandler requestHandler)Create a new HTTP service. | 
| HttpService(HttpProcessor processor,
           HttpServerRequestHandler requestHandler,
           ConnectionReuseStrategy connReuseStrategy,
           Http1StreamListener streamListener)Create a new HTTP service. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | DefaultHttpProcessorDefault 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  HttpProcessorinstance. | 
| H2RequesterBootstrap | H2RequesterBootstrap. setHttpProcessor(HttpProcessor httpProcessor)Assigns  HttpProcessorinstance. | 
| H2ServerBootstrap | H2ServerBootstrap. setHttpProcessor(HttpProcessor httpProcessor)Assigns  HttpProcessorinstance. | 
| 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–2022 The Apache Software Foundation. All rights reserved.