B - The body@Internal public abstract class AbstractNettyHttpRequest<B> extends io.netty.util.DefaultAttributeMap implements HttpRequest<B>
HttpRequest for Netty.| Modifier and Type | Field and Description | 
|---|---|
| protected ConversionService<?> | conversionService | 
| protected HttpMethod | httpMethod | 
| protected io.netty.handler.codec.http.HttpRequest | nettyRequest | 
| protected URI | uri | 
| Constructor and Description | 
|---|
| AbstractNettyHttpRequest(io.netty.handler.codec.http.HttpRequest nettyRequest,
                        ConversionService conversionService) | 
| Modifier and Type | Method and Description | 
|---|---|
| protected io.netty.handler.codec.http.QueryStringDecoder | createDecoder(String uri) | 
| Charset | getCharacterEncoding() | 
| Optional<MediaType> | getContentType()The request or response content type. | 
| Optional<Locale> | getLocale() | 
| HttpMethod | getMethod() | 
| io.netty.handler.codec.http.HttpRequest | getNettyRequest() | 
| HttpParameters | getParameters() | 
| String | getPath() | 
| URI | getUri() | 
| protected abstract Charset | initCharset(Charset characterEncoding) | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreate, DELETE, DELETE, DELETE, GET, GET, getCookies, getRemoteAddress, getServerAddress, getServerName, getUserPrincipal, getUserPrincipal, HEAD, HEAD, isSecure, OPTIONS, OPTIONS, PATCH, PATCH, POST, POST, PUT, PUT, setAttributegetAttributes, getBody, getBody, getBody, getContentLength, getHeadersremoveAttributegetAttribute, getAttributeprotected final io.netty.handler.codec.http.HttpRequest nettyRequest
protected final ConversionService<?> conversionService
protected final HttpMethod httpMethod
protected final URI uri
public AbstractNettyHttpRequest(io.netty.handler.codec.http.HttpRequest nettyRequest,
                                ConversionService conversionService)
nettyRequest - The Http netty requestconversionService - The conversion servicepublic io.netty.handler.codec.http.HttpRequest getNettyRequest()
public HttpParameters getParameters()
getParameters in interface HttpRequest<B>public Optional<MediaType> getContentType()
HttpMessagegetContentType in interface HttpMessage<B>public Charset getCharacterEncoding()
getCharacterEncoding in interface HttpMessage<B>StandardCharsets.UTF_8public Optional<Locale> getLocale()
getLocale in interface HttpMessage<B>getLocale in interface HttpRequest<B>public HttpMethod getMethod()
getMethod in interface HttpRequest<B>public URI getUri()
getUri in interface HttpRequest<B>public String getPath()
getPath in interface HttpRequest<B>protected abstract Charset initCharset(Charset characterEncoding)
characterEncoding - The charactger encodingprotected io.netty.handler.codec.http.QueryStringDecoder createDecoder(String uri)
uri - The URI