Package org.elasticsearch.http.nio
Class NioHttpResponse
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.nio.NioHttpResponse
- 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 NioHttpResponse
extends io.netty.handler.codec.http.DefaultFullHttpResponse
implements HttpResponse
-
Field Summary
Fields inherited from interface io.netty.handler.codec.http.LastHttpContent
EMPTY_LAST_CONTENT -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleancontainsHeader(String name) io.netty.handler.codec.http.HttpHeadersMethods 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
-
addHeader
- Specified by:
addHeaderin interfaceHttpResponse
-
containsHeader
- Specified by:
containsHeaderin interfaceHttpResponse
-
requestHeaders
public io.netty.handler.codec.http.HttpHeaders requestHeaders()
-