public class NettyHttpServletPipelineFactory
extends io.netty.channel.ChannelInitializer<io.netty.channel.Channel>
Constructor and Description |
---|
NettyHttpServletPipelineFactory(TLSServerParameters tlsServerParameters,
boolean supportSession,
int threadPoolSize,
int maxChunkContentSize,
Map<String,NettyHttpContextHandler> handlerMap,
NettyHttpServerEngine engine)
|
NettyHttpServletPipelineFactory(TLSServerParameters tlsServerParameters,
boolean supportSession,
int maxChunkContentSize,
Map<String,NettyHttpContextHandler> handlerMap,
NettyHttpServerEngine engine,
io.netty.util.concurrent.EventExecutorGroup applicationExecutor) |
NettyHttpServletPipelineFactory(TLSServerParameters tlsServerParameters,
boolean supportSession,
int maxChunkContentSize,
Map<String,NettyHttpContextHandler> handlerMap,
NettyHttpServerEngine engine,
io.netty.util.concurrent.EventExecutorGroup applicationExecutor,
boolean enableHttp2) |
Modifier and Type | Method and Description |
---|---|
protected void |
configureDefaultHttp2Pipeline(io.netty.channel.ChannelPipeline pipeline) |
protected void |
configureDefaultHttpPipeline(io.netty.channel.ChannelPipeline pipeline) |
io.netty.channel.group.ChannelGroup |
getAllChannels() |
protected io.netty.channel.ChannelPipeline |
getDefaultHttp2ChannelPipeline(io.netty.channel.Channel channel) |
protected io.netty.channel.ChannelPipeline |
getDefaultHttpChannelPipeline(io.netty.channel.Channel channel) |
Map<String,NettyHttpContextHandler> |
getHttpContextHandlerMap() |
protected HttpSessionStore |
getHttpSessionStore() |
NettyHttpContextHandler |
getNettyHttpHandler(String url) |
protected NettyHttpServletHandler |
getServletHandler() |
protected void |
initChannel(io.netty.channel.Channel ch) |
void |
shutdown() |
void |
start() |
channelRegistered, exceptionCaught, handlerAdded, handlerRemoved
@Deprecated public NettyHttpServletPipelineFactory(TLSServerParameters tlsServerParameters, boolean supportSession, int threadPoolSize, int maxChunkContentSize, Map<String,NettyHttpContextHandler> handlerMap, NettyHttpServerEngine engine)
public NettyHttpServletPipelineFactory(TLSServerParameters tlsServerParameters, boolean supportSession, int maxChunkContentSize, Map<String,NettyHttpContextHandler> handlerMap, NettyHttpServerEngine engine, io.netty.util.concurrent.EventExecutorGroup applicationExecutor)
public NettyHttpServletPipelineFactory(TLSServerParameters tlsServerParameters, boolean supportSession, int maxChunkContentSize, Map<String,NettyHttpContextHandler> handlerMap, NettyHttpServerEngine engine, io.netty.util.concurrent.EventExecutorGroup applicationExecutor, boolean enableHttp2)
public Map<String,NettyHttpContextHandler> getHttpContextHandlerMap()
public io.netty.channel.group.ChannelGroup getAllChannels()
public NettyHttpContextHandler getNettyHttpHandler(String url)
public void start()
public void shutdown()
protected HttpSessionStore getHttpSessionStore()
protected NettyHttpServletHandler getServletHandler()
protected io.netty.channel.ChannelPipeline getDefaultHttpChannelPipeline(io.netty.channel.Channel channel) throws Exception
Exception
protected void configureDefaultHttp2Pipeline(io.netty.channel.ChannelPipeline pipeline)
protected void configureDefaultHttpPipeline(io.netty.channel.ChannelPipeline pipeline)
protected void initChannel(io.netty.channel.Channel ch) throws Exception
initChannel
in class io.netty.channel.ChannelInitializer<io.netty.channel.Channel>
Exception
Apache CXF