|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
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.
| Field Summary | |
|---|---|
static HttpChunkTrailer |
LAST_CHUNK
The 'end of content' marker in chunked encoding. |
| Method Summary | |
|---|---|
org.jboss.netty.buffer.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(org.jboss.netty.buffer.ChannelBuffer content)
Sets the content of this chunk. |
| Field Detail |
|---|
static final HttpChunkTrailer LAST_CHUNK
| Method Detail |
|---|
boolean isLast()
true if and only if this chunk is the 'end of content'
marker.
org.jboss.netty.buffer.ChannelBuffer getContent()
ChannelBuffers.EMPTY_BUFFER will be returned.
void setContent(org.jboss.netty.buffer.ChannelBuffer content)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||