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 theHttpMethod
of thisHttpRequest
.Returns the protocol version of thisHttpMessage
void
setDecoderResult
(DecoderResult result) Updates the result of decoding this object.setMethod
(HttpMethod method) Set theHttpMethod
of thisHttpRequest
.setProtocolVersion
(HttpVersion version) Set the protocol version of thisHttpMessage
Set 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:HttpMessage
Set the protocol version of thisHttpMessage
- Specified by:
setProtocolVersion
in interfaceHttpMessage
- Specified by:
setProtocolVersion
in interfaceHttpRequest
-
setMethod
Description copied from interface:HttpRequest
Set theHttpMethod
of thisHttpRequest
.- Specified by:
setMethod
in interfaceHttpRequest
-
setUri
Description copied from interface:HttpRequest
Set the requested URI (or alternatively, path)- Specified by:
setUri
in interfaceHttpRequest
-
getMethod
- Specified by:
getMethod
in interfaceHttpRequest
-
method
Description copied from interface:HttpRequest
Returns theHttpMethod
of thisHttpRequest
.- Specified by:
method
in interfaceHttpRequest
- Returns:
- The
HttpMethod
of thisHttpRequest
-
getUri
- Specified by:
getUri
in interfaceHttpRequest
-
uri
Description copied from interface:HttpRequest
Returns the requested URI (or alternatively, path)- Specified by:
uri
in interfaceHttpRequest
- Returns:
- The URI being requested
-
getProtocolVersion
- Specified by:
getProtocolVersion
in interfaceHttpMessage
-
protocolVersion
Description copied from interface:HttpMessage
Returns the protocol version of thisHttpMessage
- Specified by:
protocolVersion
in interfaceHttpMessage
-
headers
Description copied from interface:HttpMessage
Returns the headers of this message.- Specified by:
headers
in interfaceHttpMessage
-
decoderResult
Description copied from interface:DecoderResultProvider
Returns the result of decoding this object.- Specified by:
decoderResult
in interfaceDecoderResultProvider
-
getDecoderResult
Deprecated.- Specified by:
getDecoderResult
in interfaceHttpObject
-
setDecoderResult
Description copied from interface:DecoderResultProvider
Updates 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:
setDecoderResult
in interfaceDecoderResultProvider
-