Class HttpPostRequestEncoder.WrappedHttpRequest
java.lang.Object
io.netty.handler.codec.http.multipart.HttpPostRequestEncoder.WrappedHttpRequest
- All Implemented Interfaces:
DecoderResultProvider,HttpMessage,HttpObject,HttpRequest
- Direct Known Subclasses:
HttpPostRequestEncoder.WrappedFullHttpRequest
- Enclosing class:
HttpPostRequestEncoder
private static class HttpPostRequestEncoder.WrappedHttpRequest
extends Object
implements HttpRequest
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the result of decoding this object.Deprecated.getUri()headers()Returns the headers of this message.method()Returns theHttpMethodof thisHttpRequest.Returns the protocol version of thisHttpMessagevoidsetDecoderResult(DecoderResult result) Updates the result of decoding this object.setMethod(HttpMethod method) Set theHttpMethodof thisHttpRequest.setProtocolVersion(HttpVersion version) Set the protocol version of thisHttpMessageSet the requested URI (or alternatively, path)uri()Returns the requested URI (or alternatively, path)
-
Field Details
-
request
-
-
Constructor Details
-
WrappedHttpRequest
WrappedHttpRequest(HttpRequest request)
-
-
Method Details
-
setProtocolVersion
Description copied from interface:HttpMessageSet the protocol version of thisHttpMessage- Specified by:
setProtocolVersionin interfaceHttpMessage- Specified by:
setProtocolVersionin interfaceHttpRequest
-
setMethod
Description copied from interface:HttpRequestSet theHttpMethodof thisHttpRequest.- Specified by:
setMethodin interfaceHttpRequest
-
setUri
Description copied from interface:HttpRequestSet the requested URI (or alternatively, path)- Specified by:
setUriin interfaceHttpRequest
-
getMethod
- Specified by:
getMethodin interfaceHttpRequest
-
method
Description copied from interface:HttpRequestReturns theHttpMethodof thisHttpRequest.- Specified by:
methodin interfaceHttpRequest- Returns:
- The
HttpMethodof thisHttpRequest
-
getUri
- Specified by:
getUriin interfaceHttpRequest
-
uri
Description copied from interface:HttpRequestReturns the requested URI (or alternatively, path)- Specified by:
uriin interfaceHttpRequest- Returns:
- The URI being requested
-
getProtocolVersion
- Specified by:
getProtocolVersionin interfaceHttpMessage
-
protocolVersion
Description copied from interface:HttpMessageReturns the protocol version of thisHttpMessage- Specified by:
protocolVersionin interfaceHttpMessage
-
headers
Description copied from interface:HttpMessageReturns the headers of this message.- Specified by:
headersin interfaceHttpMessage
-
decoderResult
Description copied from interface:DecoderResultProviderReturns the result of decoding this object.- Specified by:
decoderResultin interfaceDecoderResultProvider
-
getDecoderResult
Deprecated.- Specified by:
getDecoderResultin interfaceHttpObject
-
setDecoderResult
Description copied from interface:DecoderResultProviderUpdates the result of decoding this object. This method is supposed to be invoked by a decoder. Do not call this method unless you know what you are doing.- Specified by:
setDecoderResultin interfaceDecoderResultProvider
-