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, statusgetProtocolVersion, headers, protocolVersiontrailingHeadersgetDecoderResultdecoderResult, setDecoderResultcontentrefCnt, release, releaseFullHttpResponse copy()
ByteBufHolderByteBufHolder.copy 在接口中 ByteBufHoldercopy 在接口中 FullHttpMessagecopy 在接口中 HttpContentcopy 在接口中 LastHttpContentFullHttpResponse duplicate()
ByteBufHolderByteBufHolder. Be aware that this will not automatically call ByteBufHolder.retain().duplicate 在接口中 ByteBufHolderduplicate 在接口中 FullHttpMessageduplicate 在接口中 HttpContentduplicate 在接口中 LastHttpContentFullHttpResponse retainedDuplicate()
ByteBufHolderByteBufHolder. This method returns a retained duplicate unlike ByteBufHolder.duplicate().retainedDuplicate 在接口中 ByteBufHolderretainedDuplicate 在接口中 FullHttpMessageretainedDuplicate 在接口中 HttpContentretainedDuplicate 在接口中 LastHttpContentByteBuf.retainedDuplicate()FullHttpResponse replace(ByteBuf content)
ByteBufHolderByteBufHolder which contains the specified content.replace 在接口中 ByteBufHolderreplace 在接口中 FullHttpMessagereplace 在接口中 HttpContentreplace 在接口中 LastHttpContentFullHttpResponse retain(int increment)
ReferenceCountedincrement.retain 在接口中 ByteBufHolderretain 在接口中 FullHttpMessageretain 在接口中 HttpContentretain 在接口中 LastHttpContentretain 在接口中 ReferenceCountedFullHttpResponse retain()
ReferenceCounted1.retain 在接口中 ByteBufHolderretain 在接口中 FullHttpMessageretain 在接口中 HttpContentretain 在接口中 LastHttpContentretain 在接口中 ReferenceCountedFullHttpResponse touch()
ReferenceCountedResourceLeakDetector. This method is a shortcut to touch(null).touch 在接口中 ByteBufHoldertouch 在接口中 FullHttpMessagetouch 在接口中 HttpContenttouch 在接口中 LastHttpContenttouch 在接口中 ReferenceCountedFullHttpResponse touch(java.lang.Object hint)
ReferenceCountedResourceLeakDetector.touch 在接口中 ByteBufHoldertouch 在接口中 FullHttpMessagetouch 在接口中 HttpContenttouch 在接口中 LastHttpContenttouch 在接口中 ReferenceCountedFullHttpResponse setProtocolVersion(HttpVersion version)
HttpMessageHttpMessagesetProtocolVersion 在接口中 HttpMessagesetProtocolVersion 在接口中 HttpResponseFullHttpResponse setStatus(HttpResponseStatus status)
HttpResponseHttpResponse.setStatus 在接口中 HttpResponse