| Package | Description | 
|---|---|
| org.apache.hc.core5.http | Core HTTP transport component APIs. | 
| 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.io.ssl | |
| org.apache.hc.core5.http.io.support | Support classes for the classic (blocking) I/O model. | 
| org.apache.hc.core5.http.message | Core HTTP message components, message element parser
 and writer APIs and their default implementations. | 
| org.apache.hc.core5.http.nio.ssl | TLS protocol support. | 
| org.apache.hc.core5.http.nio.support | Support classes for the asynchronous I/O model. | 
| org.apache.hc.core5.http.support | |
| org.apache.hc.core5.http2.impl.nio.bootstrap | HTTP/2 capable requester and server bootstrap. | 
| org.apache.hc.core5.http2.nio.pool | HTTP/2 specific pool component APIs. | 
| org.apache.hc.core5.http2.ssl | HTTP/2 specific TLS protocol support. | 
| org.apache.hc.core5.net | Core network component APIs and utilities. | 
| org.apache.hc.core5.reactor | Event driven network communication APIs and components loosely based on
 Doug Lea's
 reactor pattern. | 
| org.apache.hc.core5.testing.classic | |
| org.apache.hc.core5.testing.nio | 
| Modifier and Type | Method and Description | 
|---|---|
| static HttpHost | HttpHost. create(String s)Creates  HttpHostinstance from a string. | 
| static HttpHost | HttpHost. create(URI uri)Creates an  HttpHostinstance from the scheme, host, and port from the given URI. | 
| Modifier and Type | Method and Description | 
|---|---|
| InetSocketAddress | DefaultAddressResolver. resolve(HttpHost host) | 
| Modifier and Type | Method and Description | 
|---|---|
| ConnPoolControl<HttpHost> | HttpRequester. getConnPoolControl() | 
| Set<HttpHost> | HttpRequester. getRoutes() | 
| Set<HttpHost> | HttpAsyncRequester. getRoutes() | 
| Modifier and Type | Method and Description | 
|---|---|
| Future<AsyncClientEndpoint> | HttpAsyncRequester. connect(HttpHost host,
       Timeout timeout) | 
| Future<AsyncClientEndpoint> | HttpAsyncRequester. connect(HttpHost host,
       Timeout timeout,
       Object attachment,
       FutureCallback<AsyncClientEndpoint> callback) | 
| protected Future<AsyncClientEndpoint> | HttpAsyncRequester. doConnect(HttpHost host,
         Timeout timeout,
         Object attachment,
         FutureCallback<AsyncClientEndpoint> callback) | 
| ClassicHttpResponse | HttpRequester. execute(HttpHost targetHost,
       ClassicHttpRequest request,
       HttpResponseInformationCallback informationCallback,
       Timeout connectTimeout,
       HttpContext context) | 
| ClassicHttpResponse | HttpRequester. execute(HttpHost targetHost,
       ClassicHttpRequest request,
       Timeout connectTimeout,
       HttpContext context) | 
| <T> T | HttpRequester. execute(HttpHost targetHost,
       ClassicHttpRequest request,
       Timeout connectTimeout,
       HttpContext context,
       HttpClientResponseHandler<T> responseHandler) | 
| int | HttpRequester. getMaxPerRoute(HttpHost route) | 
| int | HttpAsyncRequester. getMaxPerRoute(HttpHost route) | 
| PoolStats | HttpRequester. getStats(HttpHost route) | 
| PoolStats | HttpAsyncRequester. getStats(HttpHost route) | 
| Future<IOSession> | AsyncRequester. requestSession(HttpHost host,
              Timeout timeout,
              Object attachment,
              FutureCallback<IOSession> callback) | 
| void | HttpRequester. setMaxPerRoute(HttpHost route,
              int max) | 
| void | HttpAsyncRequester. setMaxPerRoute(HttpHost route,
              int max) | 
| Modifier and Type | Method and Description | 
|---|---|
| AsyncRequesterBootstrap | AsyncRequesterBootstrap. setConnPoolListener(ConnPoolListener<HttpHost> connPoolListener)Assigns  ConnPoolListenerinstance. | 
| RequesterBootstrap | RequesterBootstrap. setConnPoolListener(ConnPoolListener<HttpHost> connPoolListener) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | SSLSessionVerifier. verify(HttpHost endpoint,
      SSLSession sslSession) | 
| Modifier and Type | Method and Description | 
|---|---|
| ClassicRequestBuilder | ClassicRequestBuilder. setHttpHost(HttpHost httpHost) | 
| Constructor and Description | 
|---|
| BasicClassicHttpRequest(Method method,
                       HttpHost host,
                       String path)Creates request message with the given method, host and request path. | 
| BasicClassicHttpRequest(String method,
                       HttpHost host,
                       String path)Creates request message with the given method, host and request path. | 
| BasicHttpRequest(Method method,
                HttpHost host,
                String path)Creates request message with the given method, host and request path. | 
| BasicHttpRequest(String method,
                HttpHost host,
                String path)Creates request message with the given method, host and request path. | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | BasicClientTlsStrategy. upgrade(TransportSecurityLayer tlsSession,
       HttpHost host,
       SocketAddress localAddress,
       SocketAddress remoteAddress,
       Object attachment,
       Timeout handshakeTimeout) | 
| boolean | TlsStrategy. upgrade(TransportSecurityLayer sessionLayer,
       HttpHost host,
       SocketAddress localAddress,
       SocketAddress remoteAddress,
       Object attachment,
       Timeout handshakeTimeout)Secures current session layer with TLS security. | 
| boolean | BasicServerTlsStrategy. upgrade(TransportSecurityLayer tlsSession,
       HttpHost host,
       SocketAddress localAddress,
       SocketAddress remoteAddress,
       Object attachment,
       Timeout handshakeTimeout) | 
| Modifier and Type | Method and Description | 
|---|---|
| AsyncRequestBuilder | AsyncRequestBuilder. setHttpHost(HttpHost httpHost) | 
| Constructor and Description | 
|---|
| BasicRequestProducer(Method method,
                    HttpHost host,
                    String path) | 
| BasicRequestProducer(Method method,
                    HttpHost host,
                    String path,
                    AsyncEntityProducer dataProducer) | 
| BasicRequestProducer(String method,
                    HttpHost host,
                    String path) | 
| BasicRequestProducer(String method,
                    HttpHost host,
                    String path,
                    AsyncEntityProducer dataProducer) | 
| Modifier and Type | Method and Description | 
|---|---|
| AbstractRequestBuilder<T> | AbstractRequestBuilder. setHttpHost(HttpHost httpHost) | 
| BasicRequestBuilder | BasicRequestBuilder. setHttpHost(HttpHost httpHost) | 
| Modifier and Type | Method and Description | 
|---|---|
| Set<HttpHost> | H2MultiplexingRequester. getRoutes() | 
| Modifier and Type | Method and Description | 
|---|---|
| protected Future<AsyncClientEndpoint> | H2AsyncRequester. doConnect(HttpHost host,
         Timeout timeout,
         Object attachment,
         FutureCallback<AsyncClientEndpoint> callback) | 
| Modifier and Type | Method and Description | 
|---|---|
| H2RequesterBootstrap | H2RequesterBootstrap. setConnPoolListener(ConnPoolListener<HttpHost> connPoolListener)Assigns  ConnPoolListenerinstance. | 
| Constructor and Description | 
|---|
| H2AsyncRequester(HttpVersionPolicy versionPolicy,
                IOReactorConfig ioReactorConfig,
                IOEventHandlerFactory eventHandlerFactory,
                Decorator<IOSession> ioSessionDecorator,
                Callback<Exception> exceptionCallback,
                IOSessionListener sessionListener,
                ManagedConnPool<HttpHost,IOSession> connPool)Use  H2RequesterBootstrapto create instances of this class. | 
| H2MultiplexingRequester(IOReactorConfig ioReactorConfig,
                       IOEventHandlerFactory eventHandlerFactory,
                       Decorator<IOSession> ioSessionDecorator,
                       Callback<Exception> exceptionCallback,
                       IOSessionListener sessionListener,
                       Resolver<HttpHost,InetSocketAddress> addressResolver,
                       TlsStrategy tlsStrategy)Use  H2MultiplexingRequesterBootstrapto create instances of this class. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected Future<IOSession> | H2ConnPool. connectSession(HttpHost namedEndpoint,
              Timeout connectTimeout,
              FutureCallback<IOSession> callback) | 
| Constructor and Description | 
|---|
| H2ConnPool(ConnectionInitiator connectionInitiator,
          Resolver<HttpHost,InetSocketAddress> addressResolver,
          TlsStrategy tlsStrategy) | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | H2ServerTlsStrategy. upgrade(TransportSecurityLayer tlsSession,
       HttpHost host,
       SocketAddress localAddress,
       SocketAddress remoteAddress,
       Object attachment,
       Timeout handshakeTimeout) | 
| boolean | ConscryptServerTlsStrategy. upgrade(TransportSecurityLayer tlsSession,
       HttpHost host,
       SocketAddress localAddress,
       SocketAddress remoteAddress,
       Object attachment,
       Timeout handshakeTimeout) | 
| boolean | H2ClientTlsStrategy. upgrade(TransportSecurityLayer tlsSession,
       HttpHost host,
       SocketAddress localAddress,
       SocketAddress remoteAddress,
       Object attachment,
       Timeout handshakeTimeout) | 
| boolean | ConscryptClientTlsStrategy. upgrade(TransportSecurityLayer tlsSession,
       HttpHost host,
       SocketAddress localAddress,
       SocketAddress remoteAddress,
       Object attachment,
       Timeout handshakeTimeout) | 
| Modifier and Type | Method and Description | 
|---|---|
| URIBuilder | URIBuilder. setHttpHost(HttpHost httpHost)Sets the scheme, host name, and port. | 
| Constructor and Description | 
|---|
| EndpointParameters(HttpHost host,
                  Object attachment) | 
| Modifier and Type | Method and Description | 
|---|---|
| ClassicHttpResponse | ClassicTestClient. execute(HttpHost targetHost,
       ClassicHttpRequest request,
       HttpContext context) | 
| void | LoggingConnPoolListener. onLease(HttpHost route,
       ConnPoolStats<HttpHost> connPoolStats) | 
| void | LoggingConnPoolListener. onRelease(HttpHost route,
         ConnPoolStats<HttpHost> connPoolStats) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | LoggingConnPoolListener. onLease(HttpHost route,
       ConnPoolStats<HttpHost> connPoolStats) | 
| void | LoggingConnPoolListener. onRelease(HttpHost route,
         ConnPoolStats<HttpHost> connPoolStats) | 
| Modifier and Type | Method and Description | 
|---|---|
| Future<ClientSessionEndpoint> | Http1TestClient. connect(HttpHost host,
       Timeout timeout) | 
| Future<ClientSessionEndpoint> | H2TestClient. connect(HttpHost host,
       Timeout timeout) | 
| Future<ClientSessionEndpoint> | Http1TestClient. connect(HttpHost host,
       Timeout timeout,
       FutureCallback<ClientSessionEndpoint> callback) | 
| Future<ClientSessionEndpoint> | H2TestClient. connect(HttpHost host,
       Timeout timeout,
       FutureCallback<ClientSessionEndpoint> callback) | 
| Future<IOSession> | AsyncRequester. requestSession(HttpHost host,
              Timeout timeout,
              FutureCallback<IOSession> callback) | 
Copyright © 2005–2022 The Apache Software Foundation. All rights reserved.