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()
Create a deep copy of this
ByteBufHolder. |
FullHttpResponse |
copy(ByteBuf newContent)
Create a copy of this
FullHttpMessage with alternative content. |
FullHttpResponse |
duplicate()
Duplicate the
ByteBufHolder. |
FullHttpResponse |
retain()
Increases the reference count by
1. |
FullHttpResponse |
retain(int increment)
Increases the reference count by the specified
increment. |
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 additonal arbitrary information for debugging
purposes.
|
statusheaders, protocolVersiontrailingHeadersdecoderResult, setDecoderResultcontentrefCnt, release, releaseFullHttpResponse copy(ByteBuf newContent)
FullHttpMessageFullHttpMessage with alternative content.copy in interface FullHttpMessagenewContent - The buffer to use instead of this FullHttpMessage's content in the copy operation.
NOTE: retain will NOT be called on this buffer. null results in an empty default choice buffer.
FullHttpResponse copy()
ByteBufHolderByteBufHolder.copy in interface ByteBufHoldercopy in interface FullHttpMessagecopy in interface HttpContentcopy 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 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 setProtocolVersion(HttpVersion version)
HttpMessageHttpMessagesetProtocolVersion in interface HttpMessagesetProtocolVersion in interface HttpResponseFullHttpResponse setStatus(HttpResponseStatus status)
HttpResponseHttpResponse.setStatus in interface HttpResponseCopyright © 2008–2015 The Netty Project. All rights reserved.