org.apache.cxf.transport.http.netty.server
Class NettyHttpServletPipelineFactory
java.lang.Object
io.netty.channel.ChannelHandlerAdapter
io.netty.channel.ChannelInboundHandlerAdapter
io.netty.channel.ChannelInitializer<io.netty.channel.Channel>
org.apache.cxf.transport.http.netty.server.NettyHttpServletPipelineFactory
- All Implemented Interfaces:
- io.netty.channel.ChannelHandler, io.netty.channel.ChannelInboundHandler
public class NettyHttpServletPipelineFactory
- extends io.netty.channel.ChannelInitializer<io.netty.channel.Channel>
Nested classes/interfaces inherited from interface io.netty.channel.ChannelHandler |
io.netty.channel.ChannelHandler.Sharable |
Methods inherited from class io.netty.channel.ChannelInitializer |
channelRegistered |
Methods inherited from class io.netty.channel.ChannelInboundHandlerAdapter |
channelActive, channelInactive, channelRead, channelReadComplete, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggered |
Methods inherited from class io.netty.channel.ChannelHandlerAdapter |
handlerAdded, handlerRemoved, isSharable |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface io.netty.channel.ChannelHandler |
handlerAdded, handlerRemoved |
NettyHttpServletPipelineFactory
public NettyHttpServletPipelineFactory(TLSServerParameters tlsServerParameters,
boolean supportSession,
int threadPoolSize,
int maxChunkContentSize,
Map<String,NettyHttpContextHandler> handlerMap,
NettyHttpServerEngine engine)
getHttpContextHandlerMap
public Map<String,NettyHttpContextHandler> getHttpContextHandlerMap()
getAllChannels
public io.netty.channel.group.ChannelGroup getAllChannels()
getNettyHttpHandler
public NettyHttpContextHandler getNettyHttpHandler(String url)
start
public void start()
shutdown
public void shutdown()
getHttpSessionStore
protected HttpSessionStore getHttpSessionStore()
getServletHandler
protected NettyHttpServletHandler getServletHandler()
getDefaulHttpChannelPipeline
protected io.netty.channel.ChannelPipeline getDefaulHttpChannelPipeline(io.netty.channel.Channel channel)
throws Exception
- Throws:
Exception
initChannel
protected void initChannel(io.netty.channel.Channel ch)
throws Exception
- Specified by:
initChannel
in class io.netty.channel.ChannelInitializer<io.netty.channel.Channel>
- Throws:
Exception
Apache CXF