@Contract(threading=IMMUTABLE_CONDITIONAL) @Internal public class ClientHttp1UpgradeHandler extends Object implements ProtocolUpgradeHandler
ProtocolIOSession
to HTTP/1.1 in case of a successful protocol negotiation or as a default fall-back.| Constructor and Description |
|---|
ClientHttp1UpgradeHandler(ClientHttp1StreamDuplexerFactory http1StreamHandlerFactory) |
| Modifier and Type | Method and Description |
|---|---|
void |
upgrade(ProtocolIOSession ioSession,
FutureCallback<ProtocolIOSession> callback)
Upgrades application protocol of the given I/O session.
|
public ClientHttp1UpgradeHandler(ClientHttp1StreamDuplexerFactory http1StreamHandlerFactory)
public void upgrade(ProtocolIOSession ioSession, FutureCallback<ProtocolIOSession> callback)
ProtocolUpgradeHandlerupgrade in interface ProtocolUpgradeHandlerCopyright © 2005–2021 The Apache Software Foundation. All rights reserved.