Package | Description |
---|---|
org.apache.hc.core5.http |
Core HTTP transport component APIs.
|
org.apache.hc.core5.http.impl.bootstrap |
HTTP/1.1 requester and server bootstrap.
|
org.apache.hc.core5.http.nio.ssl |
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.reactor.ssl |
TLS/SSL support for I/O reactors.
|
Modifier and Type | Class and Description |
---|---|
class |
HttpHost
Component that holds all details needed to describe an HTTP connection
to a host.
|
Constructor and Description |
---|
HttpHost(String scheme,
NamedEndpoint namedEndpoint) |
Modifier and Type | Method and Description |
---|---|
protected void |
HttpAsyncRequester.doTlsUpgrade(ProtocolIOSession ioSession,
NamedEndpoint endpoint,
FutureCallback<ProtocolIOSession> callback) |
Modifier and Type | Method and Description |
---|---|
void |
TlsUpgradeCapable.tlsUpgrade(NamedEndpoint endpoint,
FutureCallback<ProtocolIOSession> callback) |
default void |
TlsStrategy.upgrade(TransportSecurityLayer sessionLayer,
NamedEndpoint endpoint,
Object attachment,
Timeout handshakeTimeout,
FutureCallback<TransportSecurityLayer> callback)
Secures current session layer with TLS.
|
void |
BasicServerTlsStrategy.upgrade(TransportSecurityLayer tlsSession,
NamedEndpoint endpoint,
Object attachment,
Timeout handshakeTimeout,
FutureCallback<TransportSecurityLayer> callback) |
void |
BasicClientTlsStrategy.upgrade(TransportSecurityLayer tlsSession,
NamedEndpoint endpoint,
Object attachment,
Timeout handshakeTimeout,
FutureCallback<TransportSecurityLayer> callback) |
Modifier and Type | Class and Description |
---|---|
class |
Host
Component that holds all details needed to describe a network connection
to a host.
|
class |
URIAuthority
Represents authority component of request
URI . |
Modifier and Type | Method and Description |
---|---|
URIBuilder |
URIBuilder.setAuthority(NamedEndpoint authority)
Sets the authority.
|
Constructor and Description |
---|
URIAuthority(NamedEndpoint namedEndpoint) |
URIAuthority(String userInfo,
NamedEndpoint endpoint) |
Modifier and Type | Class and Description |
---|---|
class |
EndpointParameters
Endpoint initialization parameters
|
Modifier and Type | Method and Description |
---|---|
NamedEndpoint |
ProtocolIOSession.getInitialEndpoint() |
Modifier and Type | Method and Description |
---|---|
Future<IOSession> |
ConnectionInitiator.connect(NamedEndpoint remoteEndpoint,
SocketAddress remoteAddress,
SocketAddress localAddress,
Timeout timeout,
Object attachment,
FutureCallback<IOSession> callback)
Requests a connection to a remote host.
|
Modifier and Type | Method and Description |
---|---|
void |
SSLSessionInitializer.initialize(NamedEndpoint endpoint,
SSLEngine sslEngine)
Triggered when the SSL connection is being initialized.
|
void |
TransportSecurityLayer.startTls(SSLContext sslContext,
NamedEndpoint endpoint,
SSLBufferMode sslBufferMode,
SSLSessionInitializer initializer,
SSLSessionVerifier verifier,
Timeout handshakeTimeout)
Starts TLS session over an existing network connection with the given SSL context.
|
default void |
TransportSecurityLayer.startTls(SSLContext sslContext,
NamedEndpoint endpoint,
SSLBufferMode sslBufferMode,
SSLSessionInitializer initializer,
SSLSessionVerifier verifier,
Timeout handshakeTimeout,
FutureCallback<TransportSecurityLayer> callback)
Starts TLS session over an existing network connection with the given SSL context.
|
TlsDetails |
SSLSessionVerifier.verify(NamedEndpoint endpoint,
SSLEngine sslEngine)
Triggered when the SSL connection has been established and initial SSL
handshake has been successfully completed.
|
Constructor and Description |
---|
SSLIOSession(NamedEndpoint targetEndpoint,
IOSession session,
SSLMode sslMode,
SSLContext sslContext,
SSLBufferMode sslBufferMode,
SSLSessionInitializer initializer,
SSLSessionVerifier verifier,
Callback<SSLIOSession> sessionStartCallback,
Callback<SSLIOSession> sessionEndCallback,
Timeout connectTimeout)
Creates new instance of
SSLIOSession class. |
SSLIOSession(NamedEndpoint targetEndpoint,
IOSession session,
SSLMode sslMode,
SSLContext sslContext,
SSLBufferMode sslBufferMode,
SSLSessionInitializer initializer,
SSLSessionVerifier verifier,
Timeout handshakeTimeout,
Callback<SSLIOSession> sessionStartCallback,
Callback<SSLIOSession> sessionEndCallback,
FutureCallback<SSLSession> resultCallback)
Creates new instance of
SSLIOSession class. |
Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.