|
|||||||||
| 上一个类 下一个类 | 框架 无框架 | ||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | ||||||||
public interface HttpChunk

An HTTP chunk which is used for HTTP chunked transfer-encoding.
HttpMessageDecoder generates HttpChunk after
HttpMessage when the content is large or the encoding of the content
is 'chunked. If you prefer not to receive HttpChunk in your handler,
please HttpChunkAggregator after HttpMessageDecoder in the
ChannelPipeline.
| 字段摘要 | |
|---|---|
static HttpChunkTrailer |
LAST_CHUNK
The 'end of content' marker in chunked encoding. |
| 方法摘要 | |
|---|---|
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. |
| 字段详细信息 |
|---|
static final HttpChunkTrailer LAST_CHUNK
| 方法详细信息 |
|---|
boolean isLast()
true if and only if this chunk is the 'end of content'
marker.
ChannelBuffer getContent()
ChannelBuffers.EMPTY_BUFFER will be returned.
void setContent(ChannelBuffer content)
|
|||||||||
| 上一个类 下一个类 | 框架 无框架 | ||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | ||||||||