public interface FullHttpResponse extends HttpResponse, FullHttpMessage
HttpResponse and FullHttpMessage.
So it represent a complete http response.EMPTY_LAST_CONTENT| Modifier and Type | Method and Description |
|---|---|
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(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 in interface ByteBufHoldercopy in interface FullHttpMessagecopy in interface HttpContentcopy in interface LastHttpContentFullHttpResponse duplicate()
ByteBufHolderByteBufHolder. Be aware that this will not automatically call ByteBufHolder.retain().duplicate in interface ByteBufHolderduplicate in interface FullHttpMessageduplicate in interface HttpContentduplicate in interface LastHttpContentFullHttpResponse retainedDuplicate()
ByteBufHolderByteBufHolder. This method returns a retained duplicate unlike ByteBufHolder.duplicate().retainedDuplicate in interface ByteBufHolderretainedDuplicate in interface FullHttpMessageretainedDuplicate in interface HttpContentretainedDuplicate in interface LastHttpContentByteBuf.retainedDuplicate()FullHttpResponse replace(ByteBuf content)
ByteBufHolderByteBufHolder which contains the specified content.replace in interface ByteBufHolderreplace in interface FullHttpMessagereplace in interface HttpContentreplace in interface LastHttpContentFullHttpResponse retain(int increment)
ReferenceCountedincrement.retain in interface ByteBufHolderretain in interface FullHttpMessageretain in interface HttpContentretain in interface LastHttpContentretain in interface ReferenceCountedFullHttpResponse retain()
ReferenceCounted1.retain in interface ByteBufHolderretain in interface FullHttpMessageretain in interface HttpContentretain in interface LastHttpContentretain in interface ReferenceCountedFullHttpResponse touch()
ReferenceCountedResourceLeakDetector. This method is a shortcut to touch(null).touch in interface ByteBufHoldertouch in interface FullHttpMessagetouch in interface HttpContenttouch in interface LastHttpContenttouch in interface ReferenceCountedFullHttpResponse touch(Object hint)
ReferenceCountedResourceLeakDetector.touch in interface ByteBufHoldertouch in interface FullHttpMessagetouch in interface HttpContenttouch in interface LastHttpContenttouch in interface ReferenceCountedFullHttpResponse setProtocolVersion(HttpVersion version)
HttpMessageHttpMessagesetProtocolVersion in interface HttpMessagesetProtocolVersion in interface HttpResponseFullHttpResponse setStatus(HttpResponseStatus status)
HttpResponseHttpResponse.setStatus in interface HttpResponseCopyright © 2008–2025 The Netty Project. All rights reserved.