public class Http2OrHttpHandler extends ApplicationProtocolNegotiationHandler
ChannelHandler.Sharable
限定符 | 构造器和说明 |
---|---|
protected |
Http2OrHttpHandler() |
限定符和类型 | 方法和说明 |
---|---|
protected void |
configurePipeline(ChannelHandlerContext ctx,
java.lang.String protocol)
Invoked on successful initial SSL/TLS handshake.
|
channelInactive, channelRead, exceptionCaught, handlerAdded, handlerRemoved, handshakeFailure, userEventTriggered
channelActive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged
ensureNotSharable, isSharable
protected void configurePipeline(ChannelHandlerContext ctx, java.lang.String protocol) throws java.lang.Exception
configurePipeline
在类中 ApplicationProtocolNegotiationHandler
protocol
- the name of the negotiated application-level protocol, or
the fallback protocol name specified in the constructor call if negotiation failed or the client
isn't aware of ALPN/NPN extensionjava.lang.Exception