public class Http2OrHttpHandler extends ApplicationProtocolNegotiationHandler
ChannelHandler.Sharable
Modifier | Constructor and Description |
---|---|
protected |
Http2OrHttpHandler() |
Modifier and Type | Method and Description |
---|---|
protected void |
configurePipeline(ChannelHandlerContext ctx,
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, String protocol) throws Exception
ApplicationProtocolNegotiationHandler
configurePipeline
in class 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 extensionException
Copyright © 2008–2017 The Netty Project. All rights reserved.