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()
HttpChunkChannelBuffers.EMPTY_BUFFER will be returned.getContent 在接口中 HttpChunkpublic void setContent(ChannelBuffer content)
HttpChunksetContent 在接口中 HttpChunk