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. |
public DefaultHttpChunk(ChannelBuffer content)
public ChannelBuffer getContent()
HttpChunk
ChannelBuffers.EMPTY_BUFFER
will be returned.getContent
in interface HttpChunk
Copyright © 2008-2013 JBoss, by Red Hat. All Rights Reserved.