org.mockserver.proxy.interceptor
Class HeadAwareHttpResponseDecoder

java.lang.Object
  extended by io.netty.channel.ChannelHandlerAdapter
      extended by io.netty.channel.ChannelInboundHandlerAdapter
          extended by io.netty.handler.codec.ByteToMessageDecoder
              extended by io.netty.handler.codec.ReplayingDecoder<io.netty.handler.codec.http.HttpObjectDecoder.State>
                  extended by io.netty.handler.codec.http.HttpObjectDecoder
                      extended by io.netty.handler.codec.http.HttpResponseDecoder
                          extended by org.mockserver.proxy.interceptor.HeadAwareHttpResponseDecoder
All Implemented Interfaces:
io.netty.channel.ChannelHandler, io.netty.channel.ChannelInboundHandler

public class HeadAwareHttpResponseDecoder
extends io.netty.handler.codec.http.HttpResponseDecoder


Nested Class Summary
 
Nested classes/interfaces inherited from interface io.netty.channel.ChannelHandler
io.netty.channel.ChannelHandler.Sharable
 
Field Summary
 
Fields inherited from class io.netty.handler.codec.http.HttpObjectDecoder
validateHeaders
 
Constructor Summary
HeadAwareHttpResponseDecoder(int maxInitialLineLength, int maxHeaderSize, int maxChunkSize)
           
 
Method Summary
protected  boolean isContentAlwaysEmpty(io.netty.handler.codec.http.HttpMessage httpMessage)
           
 
Methods inherited from class io.netty.handler.codec.http.HttpResponseDecoder
createInvalidMessage, createMessage, isDecodingRequest
 
Methods inherited from class io.netty.handler.codec.http.HttpObjectDecoder
decode, decodeLast
 
Methods inherited from class io.netty.handler.codec.ReplayingDecoder
callDecode, channelInactive, checkpoint, checkpoint, state, state
 
Methods inherited from class io.netty.handler.codec.ByteToMessageDecoder
actualReadableBytes, channelRead, channelReadComplete, handlerRemoved, handlerRemoved0, internalBuffer, isSingleDecode, setSingleDecode
 
Methods inherited from class io.netty.channel.ChannelInboundHandlerAdapter
channelActive, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggered
 
Methods inherited from class io.netty.channel.ChannelHandlerAdapter
handlerAdded, isSharable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface io.netty.channel.ChannelHandler
handlerAdded
 

Constructor Detail

HeadAwareHttpResponseDecoder

public HeadAwareHttpResponseDecoder(int maxInitialLineLength,
                                    int maxHeaderSize,
                                    int maxChunkSize)
Method Detail

isContentAlwaysEmpty

protected boolean isContentAlwaysEmpty(io.netty.handler.codec.http.HttpMessage httpMessage)
Overrides:
isContentAlwaysEmpty in class io.netty.handler.codec.http.HttpObjectDecoder


Copyright © 2014. All rights reserved.