Package org.apache.hc.core5.reactor
Interface ProtocolUpgradeHandler
- All Known Implementing Classes:
ClientH2UpgradeHandler
,ClientHttp1UpgradeHandler
,ServerH2UpgradeHandler
,ServerHttp1UpgradeHandler
Application protocol upgrade handler. This routine can be used to upgrade
I/O sessions to a new application protocol.
- Since:
- 5.2
-
Method Summary
Modifier and TypeMethodDescriptionvoid
upgrade
(ProtocolIOSession ioSession, FutureCallback<ProtocolIOSession> callback) Upgrades application protocol of the given I/O session.
-
Method Details
-
upgrade
Upgrades application protocol of the given I/O session.
-