public class SpdyOrHttpHandler extends ApplicationProtocolNegotiationHandler
ChannelHandler.Sharable| 限定符 | 构造器和说明 |
|---|---|
protected |
SpdyOrHttpHandler() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
configurePipeline(ChannelHandlerContext ctx,
java.lang.String protocol)
Invoked on successful initial SSL/TLS handshake.
|
channelInactive, channelRead, exceptionCaught, handlerAdded, handlerRemoved, handshakeFailure, userEventTriggeredchannelActive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChangedensureNotSharable, isSharableprotected void configurePipeline(ChannelHandlerContext ctx, java.lang.String protocol) throws java.lang.Exception
configurePipeline 在类中 ApplicationProtocolNegotiationHandlerprotocol - 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