@ChannelHandler.Sharable
public class Http11To2UpgradeHandler
extends io.netty.handler.ssl.ApplicationProtocolNegotiationHandler
| Modifier and Type | Field and Description |
|---|---|
protected RestServer |
restServer |
| Constructor and Description |
|---|
Http11To2UpgradeHandler(RestServer restServer) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
configureHttp1(io.netty.channel.ChannelPipeline pipeline) |
protected void |
configureHttp2(io.netty.channel.ChannelPipeline pipeline) |
void |
configurePipeline(io.netty.channel.ChannelHandlerContext ctx,
String protocol) |
void |
configurePipeline(io.netty.channel.ChannelPipeline pipeline,
String protocol) |
io.netty.handler.ssl.ApplicationProtocolConfig |
getAlpnConfiguration() |
io.netty.channel.ChannelHandler |
getHttp1Handler()
Gets HTTP/1.1 handler.
|
protected int |
maxContentLength() |
exceptionCaught, handshakeFailure, userEventTriggeredchannelActive, channelInactive, channelRead, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChangedensureNotSharable, handlerAdded, handlerRemoved, isSharableprotected final RestServer restServer
public Http11To2UpgradeHandler(RestServer restServer)
public void configurePipeline(io.netty.channel.ChannelHandlerContext ctx,
String protocol)
configurePipeline in class io.netty.handler.ssl.ApplicationProtocolNegotiationHandlerpublic void configurePipeline(io.netty.channel.ChannelPipeline pipeline,
String protocol)
protected void configureHttp2(io.netty.channel.ChannelPipeline pipeline)
protected void configureHttp1(io.netty.channel.ChannelPipeline pipeline)
protected int maxContentLength()
public io.netty.channel.ChannelHandler getHttp1Handler()
public io.netty.handler.ssl.ApplicationProtocolConfig getAlpnConfiguration()
Copyright © 2018 JBoss, a division of Red Hat. All rights reserved.