Package org.elasticsearch.http.netty4
Class Netty4FullHttpResponse
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
org.elasticsearch.http.netty4.Netty4FullHttpResponse
- 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,HttpResponse,Netty4HttpResponse
public final class Netty4FullHttpResponse
extends io.netty.handler.codec.http.DefaultFullHttpResponse
implements Netty4HttpResponse, HttpResponse
-
Field Summary
Fields inherited from interface io.netty.handler.codec.http.LastHttpContent
EMPTY_LAST_CONTENT -
Method Summary
Methods inherited from class io.netty.handler.codec.http.DefaultFullHttpResponse
content, copy, duplicate, equals, hashCode, refCnt, release, release, replace, retain, retain, retainedDuplicate, setProtocolVersion, setStatus, toString, touch, touch, trailingHeadersMethods inherited from class io.netty.handler.codec.http.DefaultHttpResponse
getStatus, statusMethods inherited from class io.netty.handler.codec.http.DefaultHttpMessage
getProtocolVersion, headers, protocolVersionMethods inherited from class io.netty.handler.codec.http.DefaultHttpObject
decoderResult, getDecoderResult, setDecoderResultMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface io.netty.handler.codec.DecoderResultProvider
decoderResult, setDecoderResultMethods inherited from interface io.netty.handler.codec.http.HttpMessage
getProtocolVersion, headers, protocolVersionMethods inherited from interface io.netty.handler.codec.http.HttpObject
getDecoderResultMethods inherited from interface io.netty.handler.codec.http.HttpResponse
getStatus, status
-
Method Details
-
getSequence
public int getSequence()- Specified by:
getSequencein interfaceNetty4HttpResponse- Returns:
- The sequence number for the request which corresponds with this response, for making sure that we send responses to pipelined requests in the correct order.
-
addHeader
- Specified by:
addHeaderin interfaceHttpResponse
-
containsHeader
- Specified by:
containsHeaderin interfaceHttpResponse
-