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. |
HttpHeaders |
trailingHeaders() |
getDecoderResult, setDecoderResultcontentrefCnt, release, releasestatic final LastHttpContent EMPTY_LAST_CONTENT
HttpHeaders trailingHeaders()
LastHttpContent copy()
ByteBufHolderByteBufHolder.copy in interface ByteBufHoldercopy 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 duplicate()
ByteBufHolderByteBufHolder. Be aware that this will not automatically call ByteBufHolder.retain().duplicate in interface ByteBufHolderduplicate in interface HttpContentCopyright © 2008–2013 The Netty Project. All rights reserved.