HttpContent implementation.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public ByteBuf | content()
Implements io. ByteBufHolder.
|
| public HttpContent | copy()
Implements io. ByteBufHolder.
|
| public HttpContent | duplicate()
Implements io. ByteBufHolder.
|
| public int | refCnt()
Implements io. |
| public boolean | release()
Implements io. 1 and deallocates this object if the reference count reaches at
0.
|
| public boolean | release(int decrement)
Implements io. decrement and deallocates this object if the reference
count reaches at 0.
|
| public HttpContent | replace(ByteBuf content)
Implements io. ByteBufHolder which contains the specified content.
|
| public HttpContent | retain()
Implements io. 1.
|
| public HttpContent | retain(int increment)
Implements io. increment.
|
| public HttpContent | retainedDuplicate()
Implements io. ByteBufHolder.
|
| public String | |
| public HttpContent | touch()
Implements io. |
| public HttpContent | touch(Object hint)
Implements io. |
| content | back to summary |
|---|---|
| private final ByteBuf content | |
| DefaultHttpContent | back to summary |
|---|---|
| public DefaultHttpContent(ByteBuf content) Creates a new instance with the specified chunk content. | |
| content | back to summary |
|---|---|
| public ByteBuf content() Implements io. Doc from io. Return the data which is held by this
| |
| copy | back to summary |
|---|---|
| public HttpContent copy() Implements io. Doc from io. Creates a deep copy of this
| |
| duplicate | back to summary |
|---|---|
| public HttpContent duplicate() Implements io. Doc from io. Duplicates this
| |
| refCnt | back to summary |
|---|---|
| public int refCnt() Implements io. Doc from io. Returns the reference count of this object. If
| |
| release | back to summary |
|---|---|
| public boolean release() Implements io. Doc from io. Decreases the reference count by
| |
| release | back to summary |
|---|---|
| public boolean release(int decrement) Implements io. Doc from io. Decreases the reference count by the specified
| |
| replace | back to summary |
|---|---|
| public HttpContent replace(ByteBuf content) Implements io. Doc from io. Returns a new
| |
| retain | back to summary |
|---|---|
| public HttpContent retain() Implements io. Doc from io. Increases the reference count by
| |
| retain | back to summary |
|---|---|
| public HttpContent retain(int increment) Implements io. Doc from io. Increases the reference count by the specified
| |
| retainedDuplicate | back to summary |
|---|---|
| public HttpContent retainedDuplicate() Implements io. Doc from io. Duplicates this
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |
| touch | back to summary |
|---|---|
| public HttpContent touch() Implements io. Doc from io. Records the current access location of this object for debugging purposes.
If this object is determined to be leaked, the information recorded by this operation will be provided to you
via
| |
| touch | back to summary |
|---|---|
| public HttpContent touch(Object hint) Implements io. Doc from io. Records the current access location of this object with an additional arbitrary information for debugging
purposes. If this object is determined to be leaked, the information recorded by this operation will be
provided to you via
| |