public interface FullHttpResponse extends HttpResponse, FullHttpMessage
HttpResponse
and FullHttpMessage
.
So it represent a complete http response.EMPTY_LAST_CONTENT
限定符和类型 | 方法和说明 |
---|---|
FullHttpResponse |
copy()
Creates a deep copy of this
ByteBufHolder . |
FullHttpResponse |
duplicate()
Duplicates this
ByteBufHolder . |
FullHttpResponse |
replace(ByteBuf content)
Returns a new
ByteBufHolder which contains the specified content . |
FullHttpResponse |
retain()
Increases the reference count by
1 . |
FullHttpResponse |
retain(int increment)
Increases the reference count by the specified
increment . |
FullHttpResponse |
retainedDuplicate()
Duplicates this
ByteBufHolder . |
FullHttpResponse |
setProtocolVersion(HttpVersion version)
Set the protocol version of this
HttpMessage |
FullHttpResponse |
setStatus(HttpResponseStatus status)
Set the status of this
HttpResponse . |
FullHttpResponse |
touch()
Records the current access location of this object for debugging purposes.
|
FullHttpResponse |
touch(java.lang.Object hint)
Records the current access location of this object with an additional arbitrary information for debugging
purposes.
|
getStatus, status
getProtocolVersion, headers, protocolVersion
trailingHeaders
getDecoderResult
decoderResult, setDecoderResult
content
refCnt, release, release
FullHttpResponse copy()
ByteBufHolder
ByteBufHolder
.copy
在接口中 ByteBufHolder
copy
在接口中 FullHttpMessage
copy
在接口中 HttpContent
copy
在接口中 LastHttpContent
FullHttpResponse duplicate()
ByteBufHolder
ByteBufHolder
. Be aware that this will not automatically call ByteBufHolder.retain()
.duplicate
在接口中 ByteBufHolder
duplicate
在接口中 FullHttpMessage
duplicate
在接口中 HttpContent
duplicate
在接口中 LastHttpContent
FullHttpResponse retainedDuplicate()
ByteBufHolder
ByteBufHolder
. This method returns a retained duplicate unlike ByteBufHolder.duplicate()
.retainedDuplicate
在接口中 ByteBufHolder
retainedDuplicate
在接口中 FullHttpMessage
retainedDuplicate
在接口中 HttpContent
retainedDuplicate
在接口中 LastHttpContent
ByteBuf.retainedDuplicate()
FullHttpResponse replace(ByteBuf content)
ByteBufHolder
ByteBufHolder
which contains the specified content
.replace
在接口中 ByteBufHolder
replace
在接口中 FullHttpMessage
replace
在接口中 HttpContent
replace
在接口中 LastHttpContent
FullHttpResponse retain(int increment)
ReferenceCounted
increment
.retain
在接口中 ByteBufHolder
retain
在接口中 FullHttpMessage
retain
在接口中 HttpContent
retain
在接口中 LastHttpContent
retain
在接口中 ReferenceCounted
FullHttpResponse retain()
ReferenceCounted
1
.retain
在接口中 ByteBufHolder
retain
在接口中 FullHttpMessage
retain
在接口中 HttpContent
retain
在接口中 LastHttpContent
retain
在接口中 ReferenceCounted
FullHttpResponse touch()
ReferenceCounted
ResourceLeakDetector
. This method is a shortcut to touch(null)
.touch
在接口中 ByteBufHolder
touch
在接口中 FullHttpMessage
touch
在接口中 HttpContent
touch
在接口中 LastHttpContent
touch
在接口中 ReferenceCounted
FullHttpResponse touch(java.lang.Object hint)
ReferenceCounted
ResourceLeakDetector
.touch
在接口中 ByteBufHolder
touch
在接口中 FullHttpMessage
touch
在接口中 HttpContent
touch
在接口中 LastHttpContent
touch
在接口中 ReferenceCounted
FullHttpResponse setProtocolVersion(HttpVersion version)
HttpMessage
HttpMessage
setProtocolVersion
在接口中 HttpMessage
setProtocolVersion
在接口中 HttpResponse
FullHttpResponse setStatus(HttpResponseStatus status)
HttpResponse
HttpResponse
.setStatus
在接口中 HttpResponse