public class NettyHttpServerHandler
extends io.netty.channel.SimpleChannelInboundHandler<io.netty.handler.codec.http.FullHttpRequest>
| Modifier and Type | Field and Description |
|---|---|
static int |
HTTP_CACHE_SECONDS |
static String |
HTTP_DATE_FORMAT |
static String |
HTTP_DATE_GMT_TIMEZONE |
| Constructor and Description |
|---|
NettyHttpServerHandler() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
channelRead0(io.netty.channel.ChannelHandlerContext ctx,
io.netty.handler.codec.http.FullHttpRequest msg) |
void |
channelReadComplete(io.netty.channel.ChannelHandlerContext ctx) |
void |
exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
Throwable cause) |
org.clawiz.core.common.system.logger.Logger |
getLogger() |
PortalPortContext |
getPortContext() |
protected void |
prepareRequestContext(io.netty.handler.codec.http.HttpRequest request) |
void |
setPortContext(PortalPortContext portContext) |
acceptInboundMessage, channelReadchannelActive, channelInactive, channelRegistered, channelUnregistered, channelWritabilityChanged, userEventTriggeredhandlerAdded, handlerRemoved, isSharablepublic static final String HTTP_DATE_FORMAT
public static final String HTTP_DATE_GMT_TIMEZONE
public static final int HTTP_CACHE_SECONDS
public void channelReadComplete(io.netty.channel.ChannelHandlerContext ctx)
throws Exception
channelReadComplete in interface io.netty.channel.ChannelInboundHandlerchannelReadComplete in class io.netty.channel.ChannelInboundHandlerAdapterExceptionpublic PortalPortContext getPortContext()
public void setPortContext(PortalPortContext portContext)
public org.clawiz.core.common.system.logger.Logger getLogger()
protected void prepareRequestContext(io.netty.handler.codec.http.HttpRequest request)
protected void channelRead0(io.netty.channel.ChannelHandlerContext ctx,
io.netty.handler.codec.http.FullHttpRequest msg)
channelRead0 in class io.netty.channel.SimpleChannelInboundHandler<io.netty.handler.codec.http.FullHttpRequest>public void exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
Throwable cause)
throws Exception
exceptionCaught in interface io.netty.channel.ChannelHandlerexceptionCaught in interface io.netty.channel.ChannelInboundHandlerexceptionCaught in class io.netty.channel.ChannelInboundHandlerAdapterExceptionCopyright © 2018. All rights reserved.