Package org.elasticsearch.http.netty4
Class Netty4HttpResponse
- 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.Netty4HttpResponse
-
- 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,java.lang.Comparable<HttpPipelinedMessage>,HttpPipelinedMessage,HttpResponse
public class Netty4HttpResponse extends io.netty.handler.codec.http.DefaultFullHttpResponse implements HttpResponse, HttpPipelinedMessage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddHeader(java.lang.String name, java.lang.String value)booleancontainsHeader(java.lang.String name)Netty4HttpRequestgetRequest()intgetSequence()-
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, 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
-
Methods inherited from interface io.netty.handler.codec.http.HttpMessage
getProtocolVersion, headers, protocolVersion
-
Methods inherited from interface org.elasticsearch.http.HttpPipelinedMessage
compareTo
-
-
-
-
Method Detail
-
addHeader
public void addHeader(java.lang.String name, java.lang.String value)- Specified by:
addHeaderin interfaceHttpResponse
-
containsHeader
public boolean containsHeader(java.lang.String name)
- Specified by:
containsHeaderin interfaceHttpResponse
-
getSequence
public int getSequence()
- Specified by:
getSequencein interfaceHttpPipelinedMessage
-
getRequest
public Netty4HttpRequest getRequest()
-
-