LAST_CHUNK| Constructor and Description |
|---|
DefaultHttpChunk(io.netty.buffer.ByteBuf content)
Creates a new instance with the specified chunk content.
|
| Modifier and Type | Method and Description |
|---|---|
io.netty.buffer.ByteBuf |
getContent()
Returns the content of this chunk.
|
boolean |
isLast()
Returns
true if and only if this chunk is the 'end of content'
marker. |
void |
setContent(io.netty.buffer.ByteBuf content)
Sets the content of this chunk.
|
public DefaultHttpChunk(io.netty.buffer.ByteBuf content)
public io.netty.buffer.ByteBuf getContent()
HttpChunkUnpooled.EMPTY_BUFFER will be returned.getContent in interface HttpChunkpublic void setContent(io.netty.buffer.ByteBuf content)
HttpChunksetContent in interface HttpChunkCopyright © 2008-2012 The Netty Project. All Rights Reserved.