@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) |
public ClientHttp1UpgradeHandler(ClientHttp1StreamDuplexerFactory http1StreamHandlerFactory)
public void upgrade(ProtocolIOSession ioSession, FutureCallback<ProtocolIOSession> callback)
upgrade
in interface ProtocolUpgradeHandler
Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.