public final class NettyToStyxRequestDecoder
extends io.netty.handler.codec.MessageToMessageDecoder<io.netty.handler.codec.http.HttpObject>
MessageToMessageDecoder is responsible for decode HttpRequest
to LiveHttpRequest's.
This implementation is Sharable.| Modifier and Type | Class and Description |
|---|---|
static class |
NettyToStyxRequestDecoder.Builder
Builder.
|
| Modifier and Type | Method and Description |
|---|---|
void |
channelInactive(io.netty.channel.ChannelHandlerContext ctx) |
protected void |
decode(io.netty.channel.ChannelHandlerContext ctx,
io.netty.handler.codec.http.HttpObject msg,
List<Object> out) |
void |
exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
Throwable cause) |
acceptInboundMessage, channelReadchannelActive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, userEventTriggeredensureNotSharable, handlerAdded, 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>Exceptionpublic void channelInactive(io.netty.channel.ChannelHandlerContext ctx)
throws Exception
channelInactive in interface io.netty.channel.ChannelInboundHandlerchannelInactive in class io.netty.channel.ChannelInboundHandlerAdapterExceptionpublic 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 © 2013–2020 Hotels.com. All rights reserved.