| Package | Description | 
|---|---|
| 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.reactor | Event driven network communication APIs and components loosely based on
 Doug Lea's
 reactor pattern. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | ClientH2UpgradeHandlerProtocol upgrade handler that upgrades the underlying  ProtocolIOSessionto HTTP/2 in case of a successful protocol negotiation. | 
| class  | ClientHttp1UpgradeHandlerProtocol upgrade handler that upgrades the underlying  ProtocolIOSessionto HTTP/1.1 in case of a successful protocol negotiation or as a default fall-back. | 
| class  | ServerH2UpgradeHandlerProtocol upgrade handler that upgrades the underlying  ProtocolIOSessionto HTTP/2 in case of a successful protocol negotiation. | 
| class  | ServerHttp1UpgradeHandlerProtocol upgrade handler that upgrades the underlying  ProtocolIOSessionto HTTP/1.1 in case of a successful protocol negotiation or as a default fall-back. | 
| Modifier and Type | Method and Description | 
|---|---|
| default void | ProtocolIOSession. registerProtocol(String protocolId,
                ProtocolUpgradeHandler upgradeHandler)Registers protocol upgrade handler with the given application protocol ID. | 
Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.