-
- All Superinterfaces:
AutoCloseable
,DecoderResultProvider
,FullHttpMessage<FullHttpRequest>
,HttpContent<FullHttpRequest>
,HttpMessage
,HttpObject
,HttpRequest
,LastHttpContent<FullHttpRequest>
,Resource<FullHttpRequest>
- All Known Implementing Classes:
DefaultFullHttpRequest
public interface FullHttpRequest extends HttpRequest, FullHttpMessage<FullHttpRequest>
Combine theHttpRequest
andFullHttpMessage
, so the request is a complete HTTP request.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FullHttpRequest
setMethod(HttpMethod method)
Set theHttpMethod
of thisHttpRequest
.FullHttpRequest
setProtocolVersion(HttpVersion version)
Set the protocol version of thisHttpMessage
FullHttpRequest
setUri(String uri)
Set the requested URI (or alternatively, path)-
Methods inherited from interface io.netty5.handler.codec.DecoderResultProvider
decoderResult, setDecoderResult
-
Methods inherited from interface io.netty5.handler.codec.http.HttpContent
copy, payload
-
Methods inherited from interface io.netty5.handler.codec.http.HttpMessage
getProtocolVersion, headers, protocolVersion
-
Methods inherited from interface io.netty5.handler.codec.http.HttpRequest
method, uri
-
Methods inherited from interface io.netty5.handler.codec.http.LastHttpContent
trailingHeaders
-
Methods inherited from interface io.netty5.util.Resource
close, isAccessible, send, touch
-
-
-
-
Method Detail
-
setProtocolVersion
FullHttpRequest setProtocolVersion(HttpVersion version)
Description copied from interface:HttpMessage
Set the protocol version of thisHttpMessage
- Specified by:
setProtocolVersion
in interfaceHttpMessage
- Specified by:
setProtocolVersion
in interfaceHttpRequest
-
setMethod
FullHttpRequest setMethod(HttpMethod method)
Description copied from interface:HttpRequest
Set theHttpMethod
of thisHttpRequest
.- Specified by:
setMethod
in interfaceHttpRequest
-
setUri
FullHttpRequest setUri(String uri)
Description copied from interface:HttpRequest
Set the requested URI (or alternatively, path)- Specified by:
setUri
in interfaceHttpRequest
-
-