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, setProtocolVersion
trailingHeaders
decoderResult, setDecoderResult
content
refCnt, release, release
FullHttpMessage 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()
ByteBufHolder
ByteBufHolder
.copy
in interface ByteBufHolder
copy
in interface HttpContent
copy
in interface LastHttpContent
FullHttpMessage retain(int increment)
ReferenceCounted
increment
.retain
in interface ByteBufHolder
retain
in interface HttpContent
retain
in interface LastHttpContent
retain
in interface ReferenceCounted
FullHttpMessage retain()
ReferenceCounted
1
.retain
in interface ByteBufHolder
retain
in interface HttpContent
retain
in interface LastHttpContent
retain
in interface ReferenceCounted
FullHttpMessage touch()
ReferenceCounted
ResourceLeakDetector
. This method is a shortcut to touch(null)
.touch
in interface ByteBufHolder
touch
in interface HttpContent
touch
in interface LastHttpContent
touch
in interface ReferenceCounted
FullHttpMessage touch(Object hint)
ReferenceCounted
ResourceLeakDetector
.touch
in interface ByteBufHolder
touch
in interface HttpContent
touch
in interface LastHttpContent
touch
in interface ReferenceCounted
FullHttpMessage duplicate()
ByteBufHolder
ByteBufHolder
. Be aware that this will not automatically call ByteBufHolder.retain()
.duplicate
in interface ByteBufHolder
duplicate
in interface HttpContent
duplicate
in interface LastHttpContent
Copyright © 2008–2015 The Netty Project. All rights reserved.