public class NettyHttpServletHandler
extends org.jboss.netty.handler.timeout.IdleStateAwareChannelHandler
| Constructor and Description |
|---|
NettyHttpServletHandler(NettyHttpServletPipelineFactory pipelineFactory) |
| Modifier and Type | Method and Description |
|---|---|
NettyHttpServletHandler |
addInterceptor(NettyInterceptor interceptor) |
protected NettyHttpServletRequest |
buildHttpServletRequest(org.jboss.netty.handler.codec.http.HttpRequest request,
String contextPath,
org.jboss.netty.channel.ChannelHandlerContext ctx) |
protected NettyServletResponse |
buildHttpServletResponse(org.jboss.netty.handler.codec.http.HttpResponse response) |
void |
channelIdle(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.handler.timeout.IdleStateEvent e) |
void |
channelOpen(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ChannelStateEvent e) |
void |
exceptionCaught(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ExceptionEvent e) |
protected void |
handleHttpServletRequest(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.MessageEvent e,
NettyHttpContextHandler nettyHttpContextHandler) |
void |
messageReceived(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.MessageEvent e) |
handleUpstreambindRequested, channelBound, channelClosed, channelConnected, channelDisconnected, channelInterestChanged, channelUnbound, childChannelClosed, childChannelOpen, closeRequested, connectRequested, disconnectRequested, handleDownstream, setInterestOpsRequested, unbindRequested, writeComplete, writeRequestedpublic NettyHttpServletHandler(NettyHttpServletPipelineFactory pipelineFactory)
public NettyHttpServletHandler addInterceptor(NettyInterceptor interceptor)
public void channelOpen(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ChannelStateEvent e)
throws Exception
channelOpen in class org.jboss.netty.channel.SimpleChannelHandlerExceptionpublic void channelIdle(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.handler.timeout.IdleStateEvent e)
channelIdle in class org.jboss.netty.handler.timeout.IdleStateAwareChannelHandlerpublic void messageReceived(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.MessageEvent e)
throws Exception
messageReceived in class org.jboss.netty.channel.SimpleChannelHandlerExceptionprotected void handleHttpServletRequest(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.MessageEvent e,
NettyHttpContextHandler nettyHttpContextHandler)
throws Exception
Exceptionpublic void exceptionCaught(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ExceptionEvent e)
exceptionCaught in class org.jboss.netty.channel.SimpleChannelHandlerprotected NettyServletResponse buildHttpServletResponse(org.jboss.netty.handler.codec.http.HttpResponse response)
protected NettyHttpServletRequest buildHttpServletRequest(org.jboss.netty.handler.codec.http.HttpRequest request, String contextPath, org.jboss.netty.channel.ChannelHandlerContext ctx)
Apache CXF