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
-
Field Summary
-
Method Summary
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, trailingHeadersMethods 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, setDecoderResult
-
Method Details
-
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
-