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()
Creates a deep copy of this
ByteBufHolder. |
LastHttpContent |
duplicate()
Duplicates this
ByteBufHolder. |
LastHttpContent |
replace(ByteBuf content)
Returns a new
ByteBufHolder which contains the specified content. |
LastHttpContent |
retain()
Increases the reference count by
1. |
LastHttpContent |
retain(int increment)
Increases the reference count by the specified
increment. |
LastHttpContent |
retainedDuplicate()
Duplicates this
ByteBufHolder. |
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 additional arbitrary information for debugging
purposes.
|
HttpHeaders |
trailingHeaders() |
getDecoderResultdecoderResult, setDecoderResultcontentrefCnt, release, releasestatic final LastHttpContent EMPTY_LAST_CONTENT
HttpHeaders trailingHeaders()
LastHttpContent copy()
ByteBufHolderByteBufHolder.copy in interface ByteBufHoldercopy in interface HttpContentLastHttpContent duplicate()
ByteBufHolderByteBufHolder. Be aware that this will not automatically call ByteBufHolder.retain().duplicate in interface ByteBufHolderduplicate in interface HttpContentLastHttpContent retainedDuplicate()
ByteBufHolderByteBufHolder. This method returns a retained duplicate unlike ByteBufHolder.duplicate().retainedDuplicate in interface ByteBufHolderretainedDuplicate in interface HttpContentByteBuf.retainedDuplicate()LastHttpContent replace(ByteBuf content)
ByteBufHolderByteBufHolder which contains the specified content.replace in interface ByteBufHolderreplace in interface HttpContentLastHttpContent retain(int increment)
ReferenceCountedincrement.retain in interface ByteBufHolderretain in interface HttpContentretain in interface ReferenceCountedLastHttpContent retain()
ReferenceCounted1.retain in interface ByteBufHolderretain in interface HttpContentretain in interface ReferenceCountedLastHttpContent touch()
ReferenceCountedResourceLeakDetector. This method is a shortcut to touch(null).touch in interface ByteBufHoldertouch in interface HttpContenttouch in interface ReferenceCountedLastHttpContent touch(Object hint)
ReferenceCountedResourceLeakDetector.touch in interface ByteBufHoldertouch in interface HttpContenttouch in interface ReferenceCountedCopyright © 2008–2017 The Netty Project. All rights reserved.