
LAST_CHUNK| Constructor and Description |
|---|
DefaultHttpChunk(ChannelBuffer content)
Creates a new instance with the specified chunk content.
|
| Modifier and Type | Method and Description |
|---|---|
ChannelBuffer |
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(ChannelBuffer content)
Sets the content of this chunk.
|
public DefaultHttpChunk(ChannelBuffer content)
public ChannelBuffer getContent()
HttpChunkChannelBuffers.EMPTY_BUFFER will be returned.getContent in interface HttpChunkpublic void setContent(ChannelBuffer content)
HttpChunksetContent in interface HttpChunkCopyright © 2008-2014 The Netty Project. All Rights Reserved.