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.http2.impl.nio |
Default implementation of HTTP/2 transport based on
the asynchronous (non-blocking) I/O model.
|
org.apache.hc.core5.http2.impl.nio.bootstrap |
HTTP/2 capable requester and server bootstrap.
|
org.apache.hc.core5.http2.ssl |
HTTP/2 specific TLS protocol support.
|
org.apache.hc.core5.reactor |
Event driven network communication APIs and components loosely based on
Doug Lea's
reactor pattern.
|
Constructor and Description |
---|
HttpAsyncRequester(IOReactorConfig ioReactorConfig,
IOEventHandlerFactory eventHandlerFactory,
Decorator<IOSession> ioSessionDecorator,
Callback<Exception> exceptionCallback,
IOSessionListener sessionListener,
ManagedConnPool<HttpHost,IOSession> connPool,
Lookup<ProtocolUpgradeHandler> protocolUpgradeHandlerLookup)
Use
AsyncRequesterBootstrap to create instances of this class. |
Modifier and Type | Class and Description |
---|---|
class |
ClientH2UpgradeHandler
Protocol upgrade handler that upgrades the underlying
ProtocolIOSession
to HTTP/2 in case of a successful protocol negotiation. |
class |
ServerH2UpgradeHandler
Protocol upgrade handler that upgrades the underlying
ProtocolIOSession
to HTTP/2 in case of a successful protocol negotiation. |
Constructor and Description |
---|
H2AsyncRequester(HttpVersionPolicy versionPolicy,
IOReactorConfig ioReactorConfig,
IOEventHandlerFactory eventHandlerFactory,
Decorator<IOSession> ioSessionDecorator,
Callback<Exception> exceptionCallback,
IOSessionListener sessionListener,
ManagedConnPool<HttpHost,IOSession> connPool,
Lookup<ProtocolUpgradeHandler> protocolUpgradeHandlerLookup)
Use
H2RequesterBootstrap to create instances of this class. |
Modifier and Type | Class and Description |
---|---|
class |
TlsUpgradeHandler
Protocol upgrade handler that upgrades the underlying
ProtocolIOSession to TLS
using TlsStrategy . |
Modifier and Type | Method and Description |
---|---|
void |
ProtocolLayer.upgrade(ProtocolUpgradeHandler handler,
EndpointParameters parameters)
Switches to the given application protocol.
|
Copyright © 2005–2020 The Apache Software Foundation. All rights reserved.