private static class HttpPostRequestEncoder.WrappedHttpRequest extends java.lang.Object implements HttpRequest
| Modifier and Type | Field and Description |
|---|---|
private HttpRequest |
request |
| Constructor and Description |
|---|
WrappedHttpRequest(HttpRequest request) |
| Modifier and Type | Method and Description |
|---|---|
DecoderResult |
decoderResult()
Returns the result of decoding this object.
|
DecoderResult |
getDecoderResult()
Deprecated.
|
HttpMethod |
getMethod() |
HttpVersion |
getProtocolVersion() |
java.lang.String |
getUri() |
HttpHeaders |
headers()
Returns the headers of this message.
|
HttpMethod |
method()
Returns the
HttpMethod of this HttpRequest. |
HttpVersion |
protocolVersion()
Returns the protocol version of this
HttpMessage |
void |
setDecoderResult(DecoderResult result)
Updates the result of decoding this object.
|
HttpRequest |
setMethod(HttpMethod method)
Set the
HttpMethod of this HttpRequest. |
HttpRequest |
setProtocolVersion(HttpVersion version)
Set the protocol version of this
HttpMessage |
HttpRequest |
setUri(java.lang.String uri)
Set the requested URI (or alternatively, path)
|
java.lang.String |
uri()
Returns the requested URI (or alternatively, path)
|
private final HttpRequest request
WrappedHttpRequest(HttpRequest request)
public HttpRequest setProtocolVersion(HttpVersion version)
HttpMessageHttpMessagesetProtocolVersion in interface HttpMessagesetProtocolVersion in interface HttpRequestpublic HttpRequest setMethod(HttpMethod method)
HttpRequestHttpMethod of this HttpRequest.setMethod in interface HttpRequestpublic HttpRequest setUri(java.lang.String uri)
HttpRequestsetUri in interface HttpRequestpublic HttpMethod getMethod()
getMethod in interface HttpRequestpublic HttpMethod method()
HttpRequestHttpMethod of this HttpRequest.method in interface HttpRequestHttpMethod of this HttpRequestpublic java.lang.String getUri()
getUri in interface HttpRequestpublic java.lang.String uri()
HttpRequesturi in interface HttpRequestpublic HttpVersion getProtocolVersion()
getProtocolVersion in interface HttpMessagepublic HttpVersion protocolVersion()
HttpMessageHttpMessageprotocolVersion in interface HttpMessagepublic HttpHeaders headers()
HttpMessageheaders in interface HttpMessagepublic DecoderResult decoderResult()
DecoderResultProviderdecoderResult in interface DecoderResultProvider@Deprecated public DecoderResult getDecoderResult()
getDecoderResult in interface HttpObjectpublic void setDecoderResult(DecoderResult result)
DecoderResultProvidersetDecoderResult in interface DecoderResultProvider