| Package | Description |
|---|---|
| org.apache.hc.core5.http.impl.bootstrap |
HTTP/1.1 requester and server bootstrap.
|
| org.apache.hc.core5.http.impl.nio |
Default implementation of HTTP/1.1 transport based on
the asynchronous (non-blocking) I/O model.
|
| org.apache.hc.core5.http.nio.ssl |
TLS protocol support.
|
| Modifier and Type | Method and Description |
|---|---|
AsyncServerBootstrap |
AsyncServerBootstrap.setTlsStrategy(TlsStrategy tlsStrategy)
Sets
TlsStrategy instance. |
AsyncRequesterBootstrap |
AsyncRequesterBootstrap.setTlsStrategy(TlsStrategy tlsStrategy)
Sets
TlsStrategy instance. |
| Constructor and Description |
|---|
HttpAsyncRequester(IOReactorConfig ioReactorConfig,
IOEventHandlerFactory eventHandlerFactory,
Decorator<IOSession> ioSessionDecorator,
Callback<Exception> exceptionCallback,
IOSessionListener sessionListener,
ManagedConnPool<HttpHost,IOSession> connPool,
TlsStrategy tlsStrategy,
Timeout handshakeTimeout,
IOReactorMetricsListener threadPoolListener,
IOWorkerSelector workerSelector)
Use
AsyncRequesterBootstrap to create instances of this class. |
| Constructor and Description |
|---|
ClientHttp1IOEventHandlerFactory(ClientHttp1StreamDuplexerFactory streamDuplexerFactory,
TlsStrategy tlsStrategy,
Timeout handshakeTimeout) |
ServerHttp1IOEventHandlerFactory(ServerHttp1StreamDuplexerFactory streamDuplexerFactory,
TlsStrategy tlsStrategy,
Timeout handshakeTimeout) |
| Modifier and Type | Class and Description |
|---|---|
class |
BasicClientTlsStrategy
Basic client-side implementation of
TlsStrategy that upgrades outbound connections
with TLS security but does not make use of TLS ALPN extension to negotiate an application
protocol. |
class |
BasicServerTlsStrategy
Basic server-side implementation of
TlsStrategy that upgrades inbound connection with
TLS security but does not make use of TLS ALPN extension to negotiate an application
protocol. |
Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.