Package org.elasticsearch.http.netty4
Class Netty4ChunkedHttpResponse
java.lang.Object
io.netty.handler.codec.http.DefaultHttpObject
io.netty.handler.codec.http.DefaultHttpMessage
io.netty.handler.codec.http.DefaultHttpResponse
org.elasticsearch.http.netty4.Netty4ChunkedHttpResponse
- All Implemented Interfaces:
io.netty.handler.codec.DecoderResultProvider,io.netty.handler.codec.http.HttpMessage,io.netty.handler.codec.http.HttpObject,io.netty.handler.codec.http.HttpResponse,HttpResponse,Netty4HttpResponse
public final class Netty4ChunkedHttpResponse
extends io.netty.handler.codec.http.DefaultHttpResponse
implements Netty4HttpResponse, HttpResponse
A http response that will be transferred via chunked encoding when handled by
Netty4HttpPipeliningHandler.-
Method Summary
Methods inherited from class io.netty.handler.codec.http.DefaultHttpResponse
equals, getStatus, hashCode, setProtocolVersion, setStatus, status, toStringMethods 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
getDecoderResult
-
Method Details
-
body
-
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
-