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()
HttpChunk
ChannelBuffers.EMPTY_BUFFER
will be returned.getContent
in interface HttpChunk
public void setContent(ChannelBuffer content)
HttpChunk
setContent
in interface HttpChunk
Copyright © 2008-2015 The Netty Project. All Rights Reserved.