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()
Create a deep copy of this
ByteBufHolder . |
FullHttpRequest |
retain()
Increases the reference count by
1 . |
FullHttpRequest |
retain(int increment)
Increases the reference count by the specified
increment . |
FullHttpRequest |
setMethod(HttpMethod method)
Set the
HttpMethod of this HttpRequest . |
FullHttpRequest |
setProtocolVersion(HttpVersion version)
Set the protocol version of this
HttpMessage |
FullHttpRequest |
setUri(java.lang.String uri)
Set the requested URI (or alternatively, path)
|
getMethod, getUri
getProtocolVersion, headers
trailingHeaders
duplicate
getDecoderResult, setDecoderResult
content
refCnt, release, release
FullHttpRequest copy()
ByteBufHolder
ByteBufHolder
.copy
in interface ByteBufHolder
copy
in interface FullHttpMessage
copy
in interface HttpContent
copy
in interface LastHttpContent
FullHttpRequest retain(int increment)
ReferenceCounted
increment
.retain
in interface ByteBufHolder
retain
in interface FullHttpMessage
retain
in interface HttpContent
retain
in interface LastHttpContent
retain
in interface ReferenceCounted
FullHttpRequest retain()
ReferenceCounted
1
.retain
in interface ByteBufHolder
retain
in interface FullHttpMessage
retain
in interface HttpContent
retain
in interface LastHttpContent
retain
in interface 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(java.lang.String uri)
HttpRequest
setUri
in interface HttpRequest
Copyright © 2008–2018 The Netty Project. All rights reserved.