public interface LastHttpContent extends HttpContent
HttpContent
which has trailing headers.Modifier and Type | Field and Description |
---|---|
static LastHttpContent |
EMPTY_LAST_CONTENT
The 'end of content' marker in chunked encoding.
|
Modifier and Type | Method and Description |
---|---|
LastHttpContent |
copy()
Create a deep copy of this
ByteBufHolder . |
LastHttpContent |
duplicate()
Duplicate the
ByteBufHolder . |
LastHttpContent |
retain()
Increases the reference count by
1 . |
LastHttpContent |
retain(int increment)
Increases the reference count by the specified
increment . |
LastHttpContent |
touch()
Records the current access location of this object for debugging purposes.
|
LastHttpContent |
touch(Object hint)
Records the current access location of this object with an additonal arbitrary information for debugging
purposes.
|
HttpHeaders |
trailingHeaders() |
decoderResult, setDecoderResult
content
refCnt, release, release
static final LastHttpContent EMPTY_LAST_CONTENT
HttpHeaders trailingHeaders()
LastHttpContent copy()
ByteBufHolder
ByteBufHolder
.copy
in interface ByteBufHolder
copy
in interface HttpContent
LastHttpContent retain(int increment)
ReferenceCounted
increment
.retain
in interface ByteBufHolder
retain
in interface HttpContent
retain
in interface ReferenceCounted
LastHttpContent retain()
ReferenceCounted
1
.retain
in interface ByteBufHolder
retain
in interface HttpContent
retain
in interface ReferenceCounted
LastHttpContent touch()
ReferenceCounted
ResourceLeakDetector
. This method is a shortcut to touch(null)
.touch
in interface ByteBufHolder
touch
in interface HttpContent
touch
in interface ReferenceCounted
LastHttpContent touch(Object hint)
ReferenceCounted
ResourceLeakDetector
.touch
in interface ByteBufHolder
touch
in interface HttpContent
touch
in interface ReferenceCounted
LastHttpContent duplicate()
ByteBufHolder
ByteBufHolder
. Be aware that this will not automatically call ByteBufHolder.retain()
.duplicate
in interface ByteBufHolder
duplicate
in interface HttpContent
Copyright © 2008–2015 The Netty Project. All rights reserved.