Package com.linkedin.venice.router.api
Class VeniceFullHttpResponse
- java.lang.Object
-
- io.netty.handler.codec.http.DefaultHttpObject
-
- io.netty.handler.codec.http.DefaultHttpMessage
-
- io.netty.handler.codec.http.DefaultHttpResponse
-
- io.netty.handler.codec.http.DefaultFullHttpResponse
-
- com.linkedin.venice.router.api.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 specializedDefaultFullHttpResponse
object to record the decompression time of the records in the response.
-
-
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.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
-
-
-
-
Method Detail
-
getDecompressionTimeInNs
public long getDecompressionTimeInNs()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classio.netty.handler.codec.http.DefaultFullHttpResponse
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classio.netty.handler.codec.http.DefaultFullHttpResponse
-
-