public class Http2OrHttpHandler
extends io.netty.handler.ssl.ApplicationProtocolNegotiationHandler
ChannelHandler.Sharable| 限定符和类型 | 字段和说明 |
|---|---|
private Http11Listener |
listener |
static String |
NAME |
| 构造器和说明 |
|---|
Http2OrHttpHandler(Http11Listener listener) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
configurePipeline(ChannelHandlerContext ctx,
String protocol) |
static io.netty.handler.codec.http2.HttpToHttp2ConnectionHandler |
createHttpToHttp2ConnectionHandler() |
exceptionCaught, handshakeFailure, userEventTriggeredchannelActive, channelInactive, channelRead, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChangedensureNotSharable, handlerAdded, handlerRemoved, isSharableclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithandlerAdded, handlerRemovedpublic static String NAME
private Http11Listener listener
public Http2OrHttpHandler(Http11Listener listener)
protected void configurePipeline(ChannelHandlerContext ctx, String protocol) throws Exception
configurePipeline 在类中 io.netty.handler.ssl.ApplicationProtocolNegotiationHandlerExceptionpublic static io.netty.handler.codec.http2.HttpToHttp2ConnectionHandler createHttpToHttp2ConnectionHandler()
Copyright © 2022 Zodiac. All rights reserved.