public interface FullHttpMessage extends HttpMessage, LastHttpContent
HttpMessage and LastHttpContent into one
message. So it represent a complete http message.EMPTY_LAST_CONTENT| Modifier and Type | Method and Description |
|---|---|
FullHttpMessage |
copy()
Create a deep copy of this
ByteBufHolder. |
FullHttpMessage |
copy(ByteBuf newContent)
Create a copy of this
FullHttpMessage with alternative content. |
FullHttpMessage |
duplicate()
Duplicate the
ByteBufHolder. |
FullHttpMessage |
retain()
Increases the reference count by
1. |
FullHttpMessage |
retain(int increment)
Increases the reference count by the specified
increment. |
FullHttpMessage |
touch()
Records the current access location of this object for debugging purposes.
|
FullHttpMessage |
touch(Object hint)
Records the current access location of this object with an additonal arbitrary information for debugging
purposes.
|
headers, protocolVersion, setProtocolVersiontrailingHeadersdecoderResult, setDecoderResultcontentrefCnt, release, releaseFullHttpMessage copy(ByteBuf newContent)
FullHttpMessage with alternative content.newContent - 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.
FullHttpMessage copy()
ByteBufHolderByteBufHolder.copy in interface ByteBufHoldercopy in interface HttpContentcopy in interface LastHttpContentFullHttpMessage retain(int increment)
ReferenceCountedincrement.retain in interface ByteBufHolderretain in interface HttpContentretain in interface LastHttpContentretain in interface ReferenceCountedFullHttpMessage retain()
ReferenceCounted1.retain in interface ByteBufHolderretain in interface HttpContentretain in interface LastHttpContentretain in interface ReferenceCountedFullHttpMessage touch()
ReferenceCountedResourceLeakDetector. This method is a shortcut to touch(null).touch in interface ByteBufHoldertouch in interface HttpContenttouch in interface LastHttpContenttouch in interface ReferenceCountedFullHttpMessage touch(Object hint)
ReferenceCountedResourceLeakDetector.touch in interface ByteBufHoldertouch in interface HttpContenttouch in interface LastHttpContenttouch in interface ReferenceCountedFullHttpMessage duplicate()
ByteBufHolderByteBufHolder. Be aware that this will not automatically call ByteBufHolder.retain().duplicate in interface ByteBufHolderduplicate in interface HttpContentduplicate in interface LastHttpContentCopyright © 2008–2015 The Netty Project. All rights reserved.