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.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.
|
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. |
Modifier and Type | Method and Description |
---|---|
InetSocketAddress |
DefaultAddressResolver.resolve(HttpHost host) |
Modifier and Type | Method and Description |
---|---|
ConnPoolControl<HttpHost> |
HttpRequester.getConnPoolControl() |
Set<HttpHost> |
HttpAsyncRequester.getRoutes() |
Set<HttpHost> |
HttpRequester.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 |
HttpAsyncRequester.getMaxPerRoute(HttpHost route) |
int |
HttpRequester.getMaxPerRoute(HttpHost route) |
PoolStats |
HttpAsyncRequester.getStats(HttpHost route) |
PoolStats |
HttpRequester.getStats(HttpHost route) |
Future<IOSession> |
AsyncRequester.requestSession(HttpHost host,
Timeout timeout,
Object attachment,
FutureCallback<IOSession> callback) |
void |
HttpAsyncRequester.setMaxPerRoute(HttpHost route,
int max) |
void |
HttpRequester.setMaxPerRoute(HttpHost route,
int max) |
Modifier and Type | Method and Description |
---|---|
RequesterBootstrap |
RequesterBootstrap.setConnPoolListener(ConnPoolListener<HttpHost> connPoolListener) |
AsyncRequesterBootstrap |
AsyncRequesterBootstrap.setConnPoolListener(ConnPoolListener<HttpHost> connPoolListener)
Assigns
ConnPoolListener instance. |
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 |
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) |
boolean |
BasicClientTlsStrategy.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 |
---|---|
BasicRequestBuilder |
BasicRequestBuilder.setHttpHost(HttpHost httpHost) |
AbstractRequestBuilder<T> |
AbstractRequestBuilder.setHttpHost(HttpHost httpHost) |
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) |
Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.