Package org.opensearch.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.opensearch.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,HttpResponse
public class Netty4HttpResponse extends io.netty.handler.codec.http.DefaultFullHttpResponse implements HttpResponse
-
-
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)io.netty.handler.codec.http.HttpHeadersrequestHeaders()-
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
-
-
-
-
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
-
requestHeaders
public io.netty.handler.codec.http.HttpHeaders requestHeaders()
-
-