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.
|
exceptionCaught, handshakeFailure, userEventTriggered
channelActive, channelInactive, channelRead, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged
ensureNotSharable, handlerAdded, handlerRemoved, isSharable
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
handlerAdded, handlerRemoved
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