Package org.mockserver.codec
Class PreserveHeadersNettyRemoves
- java.lang.Object
-
- io.netty.channel.ChannelHandlerAdapter
-
- io.netty.channel.ChannelInboundHandlerAdapter
-
- io.netty.handler.codec.MessageToMessageDecoder<io.netty.handler.codec.http.HttpObject>
-
- org.mockserver.codec.PreserveHeadersNettyRemoves
-
- All Implemented Interfaces:
io.netty.channel.ChannelHandler,io.netty.channel.ChannelInboundHandler
public class PreserveHeadersNettyRemoves extends io.netty.handler.codec.MessageToMessageDecoder<io.netty.handler.codec.http.HttpObject>
-
-
Constructor Summary
Constructors Constructor Description PreserveHeadersNettyRemoves()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddecode(io.netty.channel.ChannelHandlerContext ctx, io.netty.handler.codec.http.HttpObject httpObject, List<Object> out)static List<Header>preservedHeaders(io.netty.channel.Channel channel)-
Methods inherited from class io.netty.handler.codec.MessageToMessageDecoder
acceptInboundMessage, channelRead, channelReadComplete
-
Methods inherited from class io.netty.channel.ChannelInboundHandlerAdapter
channelActive, channelInactive, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggered
-
Methods inherited from class io.netty.channel.ChannelHandlerAdapter
ensureNotSharable, handlerAdded, handlerRemoved, isSharable
-
-
-
-
Method Detail
-
decode
protected void decode(io.netty.channel.ChannelHandlerContext ctx, io.netty.handler.codec.http.HttpObject httpObject, List<Object> out) throws Exception- Specified by:
decodein classio.netty.handler.codec.MessageToMessageDecoder<io.netty.handler.codec.http.HttpObject>- Throws:
Exception
-
-