Package org.elasticsearch.http.nio
Class NioHttpRequest
java.lang.Object
org.elasticsearch.http.nio.NioHttpRequest
- All Implemented Interfaces:
HttpPreRequest,HttpRequest
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.http.HttpRequest
HttpRequest.HttpVersion -
Method Summary
Modifier and TypeMethodDescriptioncontent()createResponse(RestStatus status, BytesReference contentRef) method()io.netty.handler.codec.http.FullHttpRequestvoidrelease()removeHeader(String header) uri()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.http.HttpPreRequest
header
-
Method Details
-
method
- Specified by:
methodin interfaceHttpPreRequest
-
uri
- Specified by:
uriin interfaceHttpPreRequest
-
content
- Specified by:
contentin interfaceHttpRequest
-
release
public void release()- Specified by:
releasein interfaceHttpRequest
-
releaseAndCopy
- Specified by:
releaseAndCopyin interfaceHttpRequest
-
getHeaders
- Specified by:
getHeadersin interfaceHttpPreRequest
-
strictCookies
- Specified by:
strictCookiesin interfaceHttpRequest
-
protocolVersion
- Specified by:
protocolVersionin interfaceHttpRequest
-
removeHeader
- Specified by:
removeHeaderin interfaceHttpRequest
-
createResponse
- Specified by:
createResponsein interfaceHttpRequest
-
getInboundException
- Specified by:
getInboundExceptionin interfaceHttpRequest
-
nettyRequest
public io.netty.handler.codec.http.FullHttpRequest nettyRequest()
-