Uses of Class
org.apache.hc.core5.http.HttpHost
-
Packages that use HttpHost Package Description org.apache.hc.core5.benchmark Apache Bench (AB) clone based on HttpCore.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.benchmark
Fields in org.apache.hc.core5.benchmark declared as HttpHost Modifier and Type Field Description private HttpHost
BenchmarkWorker. host
Constructors in org.apache.hc.core5.benchmark with parameters of type HttpHost Constructor Description BenchmarkWorker(HttpAsyncRequester requester, HttpHost host, HttpCoreContext context, java.util.concurrent.atomic.AtomicLong requestCount, java.util.concurrent.CountDownLatch completionLatch, Stats stats, BenchmarkConfig config)
-
Uses of HttpHost in org.apache.hc.core5.http
Methods in org.apache.hc.core5.http that return HttpHost Modifier and Type Method Description static HttpHost
HttpHost. create(java.lang.String s)
CreatesHttpHost
instance from a string.static HttpHost
HttpHost. create(java.net.URI uri)
Creates anHttpHost
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 Description java.net.InetSocketAddress
DefaultAddressResolver. resolve(HttpHost host)
-
Uses of HttpHost in org.apache.hc.core5.http.impl.bootstrap
Fields in org.apache.hc.core5.http.impl.bootstrap with type parameters of type HttpHost Modifier and Type Field Description private Resolver<HttpHost,java.net.InetSocketAddress>
AsyncRequester. addressResolver
private Resolver<HttpHost,java.net.InetSocketAddress>
HttpRequester. addressResolver
private ManagedConnPool<HttpHost,IOSession>
HttpAsyncRequester. connPool
private ManagedConnPool<HttpHost,HttpClientConnection>
HttpRequester. connPool
private ConnPoolListener<HttpHost>
AsyncRequesterBootstrap. connPoolListener
private ConnPoolListener<HttpHost>
RequesterBootstrap. connPoolListener
(package private) java.util.concurrent.atomic.AtomicReference<PoolEntry<HttpHost,IOSession>>
HttpAsyncRequester.InternalAsyncClientEndpoint. poolEntryRef
private java.util.concurrent.atomic.AtomicReference<PoolEntry<HttpHost,HttpClientConnection>>
HttpRequester.PoolEntryHolder. poolEntryRef
Methods in org.apache.hc.core5.http.impl.bootstrap that return types with arguments of type HttpHost Modifier and Type Method Description ConnPoolControl<HttpHost>
HttpRequester. getConnPoolControl()
java.util.Set<HttpHost>
HttpAsyncRequester. getRoutes()
java.util.Set<HttpHost>
HttpRequester. getRoutes()
Methods in org.apache.hc.core5.http.impl.bootstrap with parameters of type HttpHost Modifier and Type Method Description java.util.concurrent.Future<AsyncClientEndpoint>
HttpAsyncRequester. connect(HttpHost host, Timeout timeout)
java.util.concurrent.Future<AsyncClientEndpoint>
HttpAsyncRequester. connect(HttpHost host, Timeout timeout, java.lang.Object attachment, FutureCallback<AsyncClientEndpoint> callback)
private java.net.Socket
HttpRequester. createSocket(HttpHost targetHost)
protected java.util.concurrent.Future<AsyncClientEndpoint>
HttpAsyncRequester. doConnect(HttpHost host, Timeout timeout, java.lang.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
HttpAsyncRequester. getMaxPerRoute(HttpHost route)
int
HttpRequester. getMaxPerRoute(HttpHost route)
PoolStats
HttpAsyncRequester. getStats(HttpHost route)
PoolStats
HttpRequester. getStats(HttpHost route)
java.util.concurrent.Future<IOSession>
AsyncRequester. requestSession(HttpHost host, Timeout timeout, java.lang.Object attachment, FutureCallback<IOSession> callback)
void
HttpAsyncRequester. setMaxPerRoute(HttpHost route, int max)
void
HttpRequester. 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 Description AsyncRequesterBootstrap
AsyncRequesterBootstrap. setConnPoolListener(ConnPoolListener<HttpHost> connPoolListener)
AssignsConnPoolListener
instance.RequesterBootstrap
RequesterBootstrap. setConnPoolListener(ConnPoolListener<HttpHost> connPoolListener)
Constructor parameters in org.apache.hc.core5.http.impl.bootstrap with type arguments of type HttpHost Constructor Description AsyncRequester(IOEventHandlerFactory eventHandlerFactory, IOReactorConfig ioReactorConfig, Decorator<IOSession> ioSessionDecorator, Callback<java.lang.Exception> exceptionCallback, IOSessionListener sessionListener, Callback<IOSession> sessionShutdownCallback, Resolver<HttpHost,java.net.InetSocketAddress> addressResolver)
HttpAsyncRequester(IOReactorConfig ioReactorConfig, IOEventHandlerFactory eventHandlerFactory, Decorator<IOSession> ioSessionDecorator, Callback<java.lang.Exception> exceptionCallback, IOSessionListener sessionListener, ManagedConnPool<HttpHost,IOSession> connPool)
UseAsyncRequesterBootstrap
to create instances of this class.HttpAsyncRequester(IOReactorConfig ioReactorConfig, IOEventHandlerFactory eventHandlerFactory, Decorator<IOSession> ioSessionDecorator, Callback<java.lang.Exception> exceptionCallback, IOSessionListener sessionListener, ManagedConnPool<HttpHost,IOSession> connPool, TlsStrategy tlsStrategy, Timeout handshakeTimeout)
UseAsyncRequesterBootstrap
to create instances of this class.HttpRequester(HttpRequestExecutor requestExecutor, HttpProcessor httpProcessor, ManagedConnPool<HttpHost,HttpClientConnection> connPool, SocketConfig socketConfig, HttpConnectionFactory<? extends HttpClientConnection> connectFactory, javax.net.ssl.SSLSocketFactory sslSocketFactory, Callback<javax.net.ssl.SSLParameters> sslSetupHandler, SSLSessionVerifier sslSessionVerifier, Resolver<HttpHost,java.net.InetSocketAddress> addressResolver)
UseRequesterBootstrap
to create instances of this class.HttpRequester(HttpRequestExecutor requestExecutor, HttpProcessor httpProcessor, ManagedConnPool<HttpHost,HttpClientConnection> connPool, SocketConfig socketConfig, HttpConnectionFactory<? extends HttpClientConnection> connectFactory, javax.net.ssl.SSLSocketFactory sslSocketFactory, Callback<javax.net.ssl.SSLParameters> sslSetupHandler, SSLSessionVerifier sslSessionVerifier, Resolver<HttpHost,java.net.InetSocketAddress> addressResolver)
UseRequesterBootstrap
to create instances of this class.InternalAsyncClientEndpoint(PoolEntry<HttpHost,IOSession> poolEntry)
PoolEntryHolder(PoolEntry<HttpHost,HttpClientConnection> poolEntry)
-
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 Description void
SSLSessionVerifier. verify(HttpHost endpoint, javax.net.ssl.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 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 Description BasicClassicHttpRequest(java.lang.String method, HttpHost host, java.lang.String path)
Creates request message with the given method, host and request path.BasicClassicHttpRequest(Method method, HttpHost host, java.lang.String path)
Creates request message with the given method, host and request path.BasicHttpRequest(java.lang.String method, HttpHost host, java.lang.String path)
Creates request message with the given method, host and request path.BasicHttpRequest(Method method, HttpHost host, java.lang.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 Description boolean
BasicClientTlsStrategy. upgrade(TransportSecurityLayer tlsSession, HttpHost host, java.net.SocketAddress localAddress, java.net.SocketAddress remoteAddress, java.lang.Object attachment, Timeout handshakeTimeout)
boolean
BasicServerTlsStrategy. upgrade(TransportSecurityLayer tlsSession, HttpHost host, java.net.SocketAddress localAddress, java.net.SocketAddress remoteAddress, java.lang.Object attachment, Timeout handshakeTimeout)
boolean
TlsStrategy. upgrade(TransportSecurityLayer sessionLayer, HttpHost host, java.net.SocketAddress localAddress, java.net.SocketAddress remoteAddress, java.lang.Object attachment, Timeout handshakeTimeout)
-
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 Description AsyncRequestBuilder
AsyncRequestBuilder. setHttpHost(HttpHost httpHost)
Constructors in org.apache.hc.core5.http.nio.support with parameters of type HttpHost Constructor Description BasicRequestProducer(java.lang.String method, HttpHost host, java.lang.String path)
BasicRequestProducer(java.lang.String method, HttpHost host, java.lang.String path, AsyncEntityProducer dataProducer)
BasicRequestProducer(Method method, HttpHost host, java.lang.String path)
BasicRequestProducer(Method method, HttpHost host, java.lang.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 Description AbstractRequestBuilder<T>
AbstractRequestBuilder. setHttpHost(HttpHost httpHost)
BasicRequestBuilder
BasicRequestBuilder. setHttpHost(HttpHost httpHost)
-
Uses of HttpHost in org.apache.hc.core5.http2.impl.nio.bootstrap
Fields in org.apache.hc.core5.http2.impl.nio.bootstrap with type parameters of type HttpHost Modifier and Type Field Description private ConnPoolListener<HttpHost>
H2RequesterBootstrap. connPoolListener
Methods in org.apache.hc.core5.http2.impl.nio.bootstrap that return types with arguments of type HttpHost Modifier and Type Method Description java.util.Set<HttpHost>
H2MultiplexingRequester. getRoutes()
Methods in org.apache.hc.core5.http2.impl.nio.bootstrap with parameters of type HttpHost Modifier and Type Method Description protected java.util.concurrent.Future<AsyncClientEndpoint>
H2AsyncRequester. doConnect(HttpHost host, Timeout timeout, java.lang.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 Description H2RequesterBootstrap
H2RequesterBootstrap. setConnPoolListener(ConnPoolListener<HttpHost> connPoolListener)
AssignsConnPoolListener
instance.Constructor parameters in org.apache.hc.core5.http2.impl.nio.bootstrap with type arguments of type HttpHost Constructor Description H2AsyncRequester(HttpVersionPolicy versionPolicy, IOReactorConfig ioReactorConfig, IOEventHandlerFactory eventHandlerFactory, Decorator<IOSession> ioSessionDecorator, Callback<java.lang.Exception> exceptionCallback, IOSessionListener sessionListener, ManagedConnPool<HttpHost,IOSession> connPool)
UseH2RequesterBootstrap
to create instances of this class.H2AsyncRequester(HttpVersionPolicy versionPolicy, IOReactorConfig ioReactorConfig, IOEventHandlerFactory eventHandlerFactory, Decorator<IOSession> ioSessionDecorator, Callback<java.lang.Exception> exceptionCallback, IOSessionListener sessionListener, ManagedConnPool<HttpHost,IOSession> connPool, TlsStrategy tlsStrategy, Timeout handshakeTimeout)
UseH2RequesterBootstrap
to create instances of this class.H2MultiplexingRequester(IOReactorConfig ioReactorConfig, IOEventHandlerFactory eventHandlerFactory, Decorator<IOSession> ioSessionDecorator, Callback<java.lang.Exception> exceptionCallback, IOSessionListener sessionListener, Resolver<HttpHost,java.net.InetSocketAddress> addressResolver, TlsStrategy tlsStrategy)
UseH2MultiplexingRequesterBootstrap
to create instances of this class. -
Uses of HttpHost in org.apache.hc.core5.http2.nio.pool
Fields in org.apache.hc.core5.http2.nio.pool with type parameters of type HttpHost Modifier and Type Field Description private Resolver<HttpHost,java.net.InetSocketAddress>
H2ConnPool. addressResolver
Methods in org.apache.hc.core5.http2.nio.pool with parameters of type HttpHost Modifier and Type Method Description protected java.util.concurrent.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 Description H2ConnPool(ConnectionInitiator connectionInitiator, Resolver<HttpHost,java.net.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 Description boolean
H2ClientTlsStrategy. upgrade(TransportSecurityLayer tlsSession, HttpHost host, java.net.SocketAddress localAddress, java.net.SocketAddress remoteAddress, java.lang.Object attachment, Timeout handshakeTimeout)
boolean
H2ServerTlsStrategy. upgrade(TransportSecurityLayer tlsSession, HttpHost host, java.net.SocketAddress localAddress, java.net.SocketAddress remoteAddress, java.lang.Object attachment, Timeout handshakeTimeout)
-
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 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 Description EndpointParameters(HttpHost host, java.lang.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 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 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 Description java.util.concurrent.Future<ClientSessionEndpoint>
H2TestClient. connect(HttpHost host, Timeout timeout)
java.util.concurrent.Future<ClientSessionEndpoint>
H2TestClient. connect(HttpHost host, Timeout timeout, FutureCallback<ClientSessionEndpoint> callback)
java.util.concurrent.Future<ClientSessionEndpoint>
Http1TestClient. connect(HttpHost host, Timeout timeout)
java.util.concurrent.Future<ClientSessionEndpoint>
Http1TestClient. connect(HttpHost host, Timeout timeout, FutureCallback<ClientSessionEndpoint> callback)
java.util.concurrent.Future<IOSession>
AsyncRequester. requestSession(HttpHost host, Timeout timeout, FutureCallback<IOSession> callback)
private java.net.InetSocketAddress
AsyncRequester. toSocketAddress(HttpHost host)
-