public interface FullHttpRequest extends HttpRequest, FullHttpMessage
HttpRequest
and FullHttpMessage
, so the request is a complete HTTP
request.EMPTY_LAST_CONTENT
Modifier and Type | Method and Description |
---|---|
FullHttpRequest |
copy() |
FullHttpRequest |
retain() |
FullHttpRequest |
retain(int increment) |
FullHttpRequest |
setMethod(HttpMethod method)
Set the
HttpMethod of this HttpRequest . |
FullHttpRequest |
setProtocolVersion(HttpVersion version)
Set the protocol version of this
HttpMessage |
FullHttpRequest |
setUri(String uri)
Set the requested URI (or alternatively, path)
|
getMethod, getUri
getProtocolVersion, headers
trailingHeaders
duplicate
getDecoderResult, setDecoderResult
FullHttpRequest copy()
copy
in interface io.netty.buffer.ByteBufHolder
copy
in interface FullHttpMessage
copy
in interface HttpContent
copy
in interface LastHttpContent
FullHttpRequest retain(int increment)
retain
in interface io.netty.buffer.ByteBufHolder
retain
in interface FullHttpMessage
retain
in interface HttpContent
retain
in interface LastHttpContent
retain
in interface io.netty.util.ReferenceCounted
FullHttpRequest retain()
retain
in interface io.netty.buffer.ByteBufHolder
retain
in interface FullHttpMessage
retain
in interface HttpContent
retain
in interface LastHttpContent
retain
in interface io.netty.util.ReferenceCounted
FullHttpRequest setProtocolVersion(HttpVersion version)
HttpMessage
HttpMessage
setProtocolVersion
in interface HttpMessage
setProtocolVersion
in interface HttpRequest
FullHttpRequest setMethod(HttpMethod method)
HttpRequest
HttpMethod
of this HttpRequest
.setMethod
in interface HttpRequest
FullHttpRequest setUri(String uri)
HttpRequest
setUri
in interface HttpRequest
Copyright © 2008–2013 The Netty Project. All rights reserved.