LAST_CHUNK
构造器和说明 |
---|
DefaultHttpChunk(ChannelBuffer content)
Creates a new instance with the specified chunk content.
|
限定符和类型 | 方法和说明 |
---|---|
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
在接口中 HttpChunk
public void setContent(ChannelBuffer content)
HttpChunk
setContent
在接口中 HttpChunk