## Uses of Class
org.apache.hc.core5.http.HttpHost

- Packages that use HttpHost
  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 |

- - ### Uses of HttpHost in org.apache.hc.core5.http

    Methods in org.apache.hc.core5.http that return HttpHost
    Modifier and Type | Method and Description
    --- | ---
    `static HttpHost` | HttpHost.`create(String s)` Creates `HttpHost` instance from a string.
    `static HttpHost` | HttpHost.`create(URI uri)` Creates an `HttpHost` instance from the scheme, host, and port from the given URI.

  - ### Uses of HttpHost in org.apache.hc.core5.http.impl

    Methods in org.apache.hc.core5.http.impl with parameters of type HttpHost
    Modifier and Type | Method and Description
    --- | ---
    `InetSocketAddress` | DefaultAddressResolver.`resolve(HttpHost host)`

  - ### Uses of HttpHost in org.apache.hc.core5.http.impl.bootstrap

    Methods in org.apache.hc.core5.http.impl.bootstrap that return types with arguments of type HttpHost
    Modifier and Type | Method and Description
    --- | ---
    `ConnPoolControl<HttpHost>` | HttpRequester.`getConnPoolControl()`
    `Set<HttpHost>` | HttpRequester.`getRoutes()`
    `Set<HttpHost>` | HttpAsyncRequester.`getRoutes()`

    Methods in org.apache.hc.core5.http.impl.bootstrap with parameters of type HttpHost
    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)`

    Method parameters in org.apache.hc.core5.http.impl.bootstrap with type arguments of type HttpHost
    Modifier and Type | Method and Description
    --- | ---
    `AsyncRequesterBootstrap` | AsyncRequesterBootstrap.`setConnPoolListener(ConnPoolListener<HttpHost> connPoolListener)` Assigns `ConnPoolListener` instance.
    `RequesterBootstrap` | RequesterBootstrap.`setConnPoolListener(ConnPoolListener<HttpHost> connPoolListener)`

    Constructor parameters in org.apache.hc.core5.http.impl.bootstrap with type arguments of type HttpHost
    Constructor and Description
    `AsyncRequester(IOEventHandlerFactory eventHandlerFactory, IOReactorConfig ioReactorConfig, Decorator<IOSession> ioSessionDecorator, Callback<Exception> exceptionCallback, IOSessionListener sessionListener, Callback<IOSession> sessionShutdownCallback, Resolver<HttpHost,InetSocketAddress> addressResolver)`
    `HttpAsyncRequester(IOReactorConfig ioReactorConfig, IOEventHandlerFactory eventHandlerFactory, Decorator<IOSession> ioSessionDecorator, Callback<Exception> exceptionCallback, IOSessionListener sessionListener, ManagedConnPool<HttpHost,IOSession> connPool)` Use `AsyncRequesterBootstrap` to create instances of this class.
    `HttpAsyncRequester(IOReactorConfig ioReactorConfig, IOEventHandlerFactory eventHandlerFactory, Decorator<IOSession> ioSessionDecorator, Callback<Exception> exceptionCallback, IOSessionListener sessionListener, ManagedConnPool<HttpHost,IOSession> connPool, TlsStrategy tlsStrategy, Timeout handshakeTimeout)` Use `AsyncRequesterBootstrap` to create instances of this class.
    `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.
    `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.

  - ### Uses of HttpHost in org.apache.hc.core5.http.io.ssl

    Methods in org.apache.hc.core5.http.io.ssl with parameters of type HttpHost
    Modifier and Type | Method and Description
    --- | ---
    `void` | SSLSessionVerifier.`verify(HttpHost endpoint, SSLSession sslSession)`

  - ### Uses of HttpHost in org.apache.hc.core5.http.io.support

    Methods in org.apache.hc.core5.http.io.support with parameters of type HttpHost
    Modifier and Type | Method and Description
    --- | ---
    `ClassicRequestBuilder` | ClassicRequestBuilder.`setHttpHost(HttpHost httpHost)`

  - ### Uses of HttpHost in org.apache.hc.core5.http.message

    Constructors in org.apache.hc.core5.http.message with parameters of type 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.

  - ### Uses of HttpHost in org.apache.hc.core5.http.nio.ssl

    Methods in org.apache.hc.core5.http.nio.ssl with parameters of type HttpHost
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | TlsStrategy.`upgrade(TransportSecurityLayer sessionLayer, HttpHost host, SocketAddress localAddress, SocketAddress remoteAddress, Object attachment, Timeout handshakeTimeout)` Deprecated. use `TlsStrategy.upgrade(TransportSecurityLayer, NamedEndpoint, Object, Timeout, FutureCallback)`
    `boolean` | BasicClientTlsStrategy.`upgrade(TransportSecurityLayer tlsSession, HttpHost host, SocketAddress localAddress, SocketAddress remoteAddress, Object attachment, Timeout handshakeTimeout)` Deprecated. use `BasicClientTlsStrategy.upgrade(TransportSecurityLayer, NamedEndpoint, Object, Timeout, FutureCallback)`
    `boolean` | BasicServerTlsStrategy.`upgrade(TransportSecurityLayer tlsSession, HttpHost host, SocketAddress localAddress, SocketAddress remoteAddress, Object attachment, Timeout handshakeTimeout)` Deprecated. use `BasicServerTlsStrategy.upgrade(TransportSecurityLayer, NamedEndpoint, Object, Timeout, FutureCallback)`

  - ### Uses of HttpHost in org.apache.hc.core5.http.nio.support

    Methods in org.apache.hc.core5.http.nio.support with parameters of type HttpHost
    Modifier and Type | Method and Description
    --- | ---
    `AsyncRequestBuilder` | AsyncRequestBuilder.`setHttpHost(HttpHost httpHost)`

    Constructors in org.apache.hc.core5.http.nio.support with parameters of type 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)`

  - ### Uses of HttpHost in org.apache.hc.core5.http.support

    Methods in org.apache.hc.core5.http.support with parameters of type HttpHost
    Modifier and Type | Method and Description
    --- | ---
    `BasicRequestBuilder` | BasicRequestBuilder.`setHttpHost(HttpHost httpHost)`
    `AbstractRequestBuilder<T>` | AbstractRequestBuilder.`setHttpHost(HttpHost httpHost)`

  - ### Uses of HttpHost in org.apache.hc.core5.http2.impl.nio.bootstrap

    Methods in org.apache.hc.core5.http2.impl.nio.bootstrap that return types with arguments of type HttpHost
    Modifier and Type | Method and Description
    --- | ---
    `Set<HttpHost>` | H2MultiplexingRequester.`getRoutes()`

    Methods in org.apache.hc.core5.http2.impl.nio.bootstrap with parameters of type HttpHost
    Modifier and Type | Method and Description
    --- | ---
    `protected Future<AsyncClientEndpoint>` | H2AsyncRequester.`doConnect(HttpHost host, Timeout timeout, Object attachment, FutureCallback<AsyncClientEndpoint> callback)`

    Method parameters in org.apache.hc.core5.http2.impl.nio.bootstrap with type arguments of type HttpHost
    Modifier and Type | Method and Description
    --- | ---
    `H2RequesterBootstrap` | H2RequesterBootstrap.`setConnPoolListener(ConnPoolListener<HttpHost> connPoolListener)` Assigns `ConnPoolListener` instance.

    Constructor parameters in org.apache.hc.core5.http2.impl.nio.bootstrap with type arguments of type HttpHost
    Constructor and Description
    `H2AsyncRequester(HttpVersionPolicy versionPolicy, IOReactorConfig ioReactorConfig, IOEventHandlerFactory eventHandlerFactory, Decorator<IOSession> ioSessionDecorator, Callback<Exception> exceptionCallback, IOSessionListener sessionListener, ManagedConnPool<HttpHost,IOSession> connPool)` Use `H2RequesterBootstrap` to create instances of this class.
    `H2AsyncRequester(HttpVersionPolicy versionPolicy, IOReactorConfig ioReactorConfig, IOEventHandlerFactory eventHandlerFactory, Decorator<IOSession> ioSessionDecorator, Callback<Exception> exceptionCallback, IOSessionListener sessionListener, ManagedConnPool<HttpHost,IOSession> connPool, TlsStrategy tlsStrategy, Timeout handshakeTimeout)` Use `H2RequesterBootstrap` to 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 `H2MultiplexingRequesterBootstrap` to create instances of this class.

  - ### Uses of HttpHost in org.apache.hc.core5.http2.nio.pool

    Methods in org.apache.hc.core5.http2.nio.pool with parameters of type HttpHost
    Modifier and Type | Method and Description
    --- | ---
    `protected Future<IOSession>` | H2ConnPool.`connectSession(HttpHost namedEndpoint, Timeout connectTimeout, FutureCallback<IOSession> callback)`

    Constructor parameters in org.apache.hc.core5.http2.nio.pool with type arguments of type HttpHost
    Constructor and Description
    `H2ConnPool(ConnectionInitiator connectionInitiator, Resolver<HttpHost,InetSocketAddress> addressResolver, TlsStrategy tlsStrategy)`

  - ### Uses of HttpHost in org.apache.hc.core5.http2.ssl

    Methods in org.apache.hc.core5.http2.ssl with parameters of type HttpHost
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | ConscryptServerTlsStrategy.`upgrade(TransportSecurityLayer tlsSession, HttpHost host, SocketAddress localAddress, SocketAddress remoteAddress, Object attachment, Timeout handshakeTimeout)` Deprecated. use `ConscryptServerTlsStrategy.upgrade(TransportSecurityLayer, NamedEndpoint, Object, Timeout, FutureCallback)`
    `boolean` | ConscryptClientTlsStrategy.`upgrade(TransportSecurityLayer tlsSession, HttpHost host, SocketAddress localAddress, SocketAddress remoteAddress, Object attachment, Timeout handshakeTimeout)` Deprecated. use `ConscryptClientTlsStrategy.upgrade(TransportSecurityLayer, NamedEndpoint, Object, Timeout, FutureCallback)`
    `boolean` | H2ServerTlsStrategy.`upgrade(TransportSecurityLayer tlsSession, HttpHost host, SocketAddress localAddress, SocketAddress remoteAddress, Object attachment, Timeout handshakeTimeout)` Deprecated. use `H2ServerTlsStrategy.upgrade(TransportSecurityLayer, NamedEndpoint, Object, Timeout, FutureCallback)`
    `boolean` | H2ClientTlsStrategy.`upgrade(TransportSecurityLayer tlsSession, HttpHost host, SocketAddress localAddress, SocketAddress remoteAddress, Object attachment, Timeout handshakeTimeout)` Deprecated. use `H2ClientTlsStrategy.upgrade(TransportSecurityLayer, NamedEndpoint, Object, Timeout, FutureCallback)`

  - ### Uses of HttpHost in org.apache.hc.core5.net

    Methods in org.apache.hc.core5.net with parameters of type HttpHost
    Modifier and Type | Method and Description
    --- | ---
    `URIBuilder` | URIBuilder.`setHttpHost(HttpHost httpHost)` Sets the scheme, host name, and port.

  - ### Uses of HttpHost in org.apache.hc.core5.reactor

    Constructors in org.apache.hc.core5.reactor with parameters of type HttpHost
    Constructor and Description
    `EndpointParameters(HttpHost host, Object attachment)`

  - ### Uses of HttpHost in org.apache.hc.core5.testing.classic

    Methods in org.apache.hc.core5.testing.classic with parameters of type HttpHost
    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)`

    Method parameters in org.apache.hc.core5.testing.classic with type arguments of type HttpHost
    Modifier and Type | Method and Description
    --- | ---
    `void` | LoggingConnPoolListener.`onLease(HttpHost route, ConnPoolStats<HttpHost> connPoolStats)`
    `void` | LoggingConnPoolListener.`onRelease(HttpHost route, ConnPoolStats<HttpHost> connPoolStats)`

  - ### Uses of HttpHost in org.apache.hc.core5.testing.nio

    Methods in org.apache.hc.core5.testing.nio with parameters of type HttpHost
    Modifier and Type | Method and Description
    --- | ---
    `Future<ClientSessionEndpoint>` | H2TestClient.`connect(HttpHost host, Timeout timeout)`
    `Future<ClientSessionEndpoint>` | Http1TestClient.`connect(HttpHost host, Timeout timeout)`
    `Future<ClientSessionEndpoint>` | H2TestClient.`connect(HttpHost host, Timeout timeout, FutureCallback<ClientSessionEndpoint> callback)`
    `Future<ClientSessionEndpoint>` | Http1TestClient.`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.