Apache CXF API

org.apache.cxf.transport.http.netty.server
Class NettyHttpServletPipelineFactory

java.lang.Object
  extended by io.netty.channel.ChannelHandlerAdapter
      extended by io.netty.channel.ChannelInboundHandlerAdapter
          extended by io.netty.channel.ChannelInitializer<io.netty.channel.Channel>
              extended by 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 Class Summary
 
Nested classes/interfaces inherited from interface io.netty.channel.ChannelHandler
io.netty.channel.ChannelHandler.Sharable
 
Constructor Summary
NettyHttpServletPipelineFactory(TLSServerParameters tlsServerParameters, boolean supportSession, int threadPoolSize, int maxChunkContentSize, Map<String,NettyHttpContextHandler> handlerMap, NettyHttpServerEngine engine)
           
 
Method Summary
 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()
           
 
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
 

Constructor Detail

NettyHttpServletPipelineFactory

public NettyHttpServletPipelineFactory(TLSServerParameters tlsServerParameters,
                                       boolean supportSession,
                                       int threadPoolSize,
                                       int maxChunkContentSize,
                                       Map<String,NettyHttpContextHandler> handlerMap,
                                       NettyHttpServerEngine engine)
Method Detail

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 API

Apache CXF