@Contract(threading=IMMUTABLE_CONDITIONAL) @Internal public class ServerH2UpgradeHandler extends Object implements ProtocolUpgradeHandler
ProtocolIOSession
to HTTP/2 in case of a successful protocol negotiation.Constructor and Description |
---|
ServerH2UpgradeHandler(ServerH2StreamMultiplexerFactory http2StreamHandlerFactory) |
Modifier and Type | Method and Description |
---|---|
void |
upgrade(ProtocolIOSession ioSession,
FutureCallback<ProtocolIOSession> callback) |
public ServerH2UpgradeHandler(ServerH2StreamMultiplexerFactory http2StreamHandlerFactory)
public void upgrade(ProtocolIOSession ioSession, FutureCallback<ProtocolIOSession> callback)
upgrade
in interface ProtocolUpgradeHandler
Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.