Class VeniceFullHttpResponse

  • All Implemented Interfaces:
    io.netty.buffer.ByteBufHolder, io.netty.handler.codec.DecoderResultProvider, io.netty.handler.codec.http.FullHttpMessage, io.netty.handler.codec.http.FullHttpResponse, io.netty.handler.codec.http.HttpContent, io.netty.handler.codec.http.HttpMessage, io.netty.handler.codec.http.HttpObject, io.netty.handler.codec.http.HttpResponse, io.netty.handler.codec.http.LastHttpContent, io.netty.util.ReferenceCounted

    public class VeniceFullHttpResponse
    extends io.netty.handler.codec.http.DefaultFullHttpResponse
    A specialized DefaultFullHttpResponse object to record the decompression time of the records in the response.
    • Field Summary

      • Fields inherited from interface io.netty.handler.codec.http.LastHttpContent

        EMPTY_LAST_CONTENT
    • Constructor Summary

      Constructors 
      Constructor Description
      VeniceFullHttpResponse​(io.netty.handler.codec.http.HttpVersion version, io.netty.handler.codec.http.HttpResponseStatus status, io.netty.buffer.ByteBuf content, long decompressionTimeInNs)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)  
      long getDecompressionTimeInNs()  
      int hashCode()  
      • Methods inherited from class io.netty.handler.codec.http.DefaultFullHttpResponse

        content, copy, duplicate, refCnt, release, release, replace, retain, retain, retainedDuplicate, setProtocolVersion, setStatus, toString, touch, touch, trailingHeaders
      • Methods inherited from class io.netty.handler.codec.http.DefaultHttpResponse

        getStatus, status
      • Methods inherited from class io.netty.handler.codec.http.DefaultHttpMessage

        getProtocolVersion, headers, protocolVersion
      • Methods inherited from class io.netty.handler.codec.http.DefaultHttpObject

        decoderResult, getDecoderResult, setDecoderResult
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface io.netty.handler.codec.DecoderResultProvider

        decoderResult, setDecoderResult
      • Methods inherited from interface io.netty.handler.codec.http.HttpMessage

        getProtocolVersion, headers, protocolVersion
      • Methods inherited from interface io.netty.handler.codec.http.HttpObject

        getDecoderResult
      • Methods inherited from interface io.netty.handler.codec.http.HttpResponse

        getStatus, status
    • Constructor Detail

      • VeniceFullHttpResponse

        public VeniceFullHttpResponse​(io.netty.handler.codec.http.HttpVersion version,
                                      io.netty.handler.codec.http.HttpResponseStatus status,
                                      io.netty.buffer.ByteBuf content,
                                      long decompressionTimeInNs)
    • Method Detail

      • getDecompressionTimeInNs

        public long getDecompressionTimeInNs()
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class io.netty.handler.codec.http.DefaultFullHttpResponse
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class io.netty.handler.codec.http.DefaultFullHttpResponse