public class HttpHeaderCodec
extends io.netty.handler.codec.MessageToMessageCodec<io.netty.handler.codec.http.HttpRequest,io.netty.handler.codec.http.HttpResponse>
| Constructor and Description |
|---|
HttpHeaderCodec()
Instantiates a new http header codec.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
decode(io.netty.channel.ChannelHandlerContext ctx,
io.netty.handler.codec.http.HttpRequest request,
List<Object> out) |
protected void |
encode(io.netty.channel.ChannelHandlerContext ctx,
io.netty.handler.codec.http.HttpResponse response,
List<Object> out) |
acceptInboundMessage, acceptOutboundMessage, channelRead, writebind, close, connect, deregister, disconnect, flush, readchannelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggeredhandlerAdded, handlerRemoved, isSharableprotected void encode(io.netty.channel.ChannelHandlerContext ctx,
io.netty.handler.codec.http.HttpResponse response,
List<Object> out)
throws Exception
encode in class io.netty.handler.codec.MessageToMessageCodec<io.netty.handler.codec.http.HttpRequest,io.netty.handler.codec.http.HttpResponse>Exceptionprotected void decode(io.netty.channel.ChannelHandlerContext ctx,
io.netty.handler.codec.http.HttpRequest request,
List<Object> out)
throws Exception
decode in class io.netty.handler.codec.MessageToMessageCodec<io.netty.handler.codec.http.HttpRequest,io.netty.handler.codec.http.HttpResponse>ExceptionCopyright © 2017 The CLARUS Consortium. All rights reserved.