public class AppHandler extends HttpPreProcessor
| Constructor and Description |
|---|
AppHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
Throwable cause) |
Object |
process(HttpRequest req) |
protected void |
sendResponse(io.netty.channel.ChannelHandlerContext ctx,
HttpRequest req,
Object data) |
channelRead0, channelReadComplete, sendResponseacceptInboundMessage, channelReadchannelActive, channelInactive, channelRegistered, channelUnregistered, channelWritabilityChanged, userEventTriggeredhandlerAdded, handlerRemoved, isSharablepublic Object process(HttpRequest req) throws Exception
process in class HttpPreProcessorExceptionprotected void sendResponse(io.netty.channel.ChannelHandlerContext ctx,
HttpRequest req,
Object data)
sendResponse in class HttpPreProcessorpublic void exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
Throwable cause)
exceptionCaught in interface io.netty.channel.ChannelHandlerexceptionCaught in interface io.netty.channel.ChannelInboundHandlerexceptionCaught in class HttpPreProcessorCopyright © 2017. All rights reserved.