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) |
Modifier and Type | Method and Description |
---|---|
io.netty.channel.group.ChannelGroup |
getAllChannels() |
protected io.netty.channel.ChannelPipeline |
getDefaulHttpChannelPipeline(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() |
channelActive, channelInactive, channelRead, channelReadComplete, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggered
handlerAdded, handlerRemoved, isSharable
public NettyHttpServletPipelineFactory(TLSServerParameters tlsServerParameters, boolean supportSession, int threadPoolSize, int maxChunkContentSize, Map<String,NettyHttpContextHandler> handlerMap, NettyHttpServerEngine engine)
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 getDefaulHttpChannelPipeline(io.netty.channel.Channel channel) throws Exception
Exception
Apache CXF