Top Description Methods
org.apache.hc.core5.reactor

public Interface ProtocolUpgradeHandler

Annotations
@Internal
Imports
org.apache.hc.core5.annotation.Internal, org.apache.hc.core5.concurrent.FutureCallback

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 TypeMethod and Description
public void
upgrade(ProtocolIOSession ioSession, FutureCallback<ProtocolIOSession> callback)

Upgrades application protocol of the given I/O session.

Method Detail

upgradeback to summary
public void upgrade(ProtocolIOSession ioSession, FutureCallback<ProtocolIOSession> callback)

Upgrades application protocol of the given I/O session.