public abstract class HttpMessageHandler
extends io.netty.handler.codec.MessageToMessageDecoder<io.netty.handler.codec.http.HttpObject>
| Constructor and Description |
|---|
HttpMessageHandler() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
decode(io.netty.channel.ChannelHandlerContext ctx,
io.netty.handler.codec.http.HttpObject msg,
List<Object> out) |
protected HttpConfiguration |
getConfiguration(io.netty.channel.ChannelHandlerContext ctx)
Gets the configuration.
|
protected HttpSession |
getHttpSession(io.netty.channel.ChannelHandlerContext ctx)
Gets the http session.
|
acceptInboundMessage, channelReadchannelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggeredhandlerAdded, handlerRemoved, isSharableprotected void decode(io.netty.channel.ChannelHandlerContext ctx,
io.netty.handler.codec.http.HttpObject msg,
List<Object> out)
throws Exception
decode in class io.netty.handler.codec.MessageToMessageDecoder<io.netty.handler.codec.http.HttpObject>Exceptionprotected HttpSession getHttpSession(io.netty.channel.ChannelHandlerContext ctx)
ctx - the ctxprotected HttpConfiguration getConfiguration(io.netty.channel.ChannelHandlerContext ctx)
ctx - the ctxCopyright © 2017 The CLARUS Consortium. All rights reserved.