public interface HttpChunk
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
.Modifier and Type | Field and Description |
---|---|
static HttpChunk |
LAST_CHUNK
The 'end of content' maker in chunked encoding.
|
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. |
static final HttpChunk 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.Copyright © 2008–2014 JBoss, by Red Hat. All rights reserved.