public class Netty4HttpRequest
extends org.elasticsearch.rest.RestRequest
| Modifier and Type | Method and Description |
|---|---|
org.elasticsearch.common.bytes.BytesReference |
content() |
io.netty.channel.Channel |
getChannel() |
java.net.SocketAddress |
getLocalAddress()
Returns the local address where this request channel is bound to.
|
java.net.SocketAddress |
getRemoteAddress()
Returns the remote address where this rest request channel is "connected to".
|
boolean |
hasContent() |
org.elasticsearch.rest.RestRequest.Method |
method() |
io.netty.handler.codec.http.FullHttpRequest |
request() |
java.lang.String |
uri() |
applyContentParser, contentOrSourceParam, contentOrSourceParamParser, contentParser, getAllHeaderValues, getContentOrSourceParamOnly, getHeaders, getXContentRegistry, getXContentType, hasContentOrSourceParam, hasParam, header, param, param, paramAsBoolean, paramAsBoolean, paramAsFloat, paramAsInt, paramAsLong, paramAsSize, paramAsStringArray, paramAsStringArrayOrEmptyIfAll, paramAsTime, params, path, rawPath, withContentOrSourceParamParserOrNull, withContentOrSourceParamParserOrNullLenientpublic io.netty.handler.codec.http.FullHttpRequest request()
public org.elasticsearch.rest.RestRequest.Method method()
method in class org.elasticsearch.rest.RestRequestpublic java.lang.String uri()
uri in class org.elasticsearch.rest.RestRequestpublic boolean hasContent()
hasContent in class org.elasticsearch.rest.RestRequestpublic org.elasticsearch.common.bytes.BytesReference content()
content in class org.elasticsearch.rest.RestRequestpublic java.net.SocketAddress getRemoteAddress()
SocketAddress is supposed to be down-cast into more
concrete type such as InetSocketAddress to retrieve
the detailed information.getRemoteAddress in class org.elasticsearch.rest.RestRequestpublic java.net.SocketAddress getLocalAddress()
SocketAddress is supposed to be down-cast into more concrete
type such as InetSocketAddress to retrieve the detailed
information.getLocalAddress in class org.elasticsearch.rest.RestRequestpublic io.netty.channel.Channel getChannel()