|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.netty.handler.codec.http.DefaultHttpChunk
public class DefaultHttpChunk
The default HttpChunk
implementation.
Field Summary |
---|
Fields inherited from interface org.jboss.netty.handler.codec.http.HttpChunk |
---|
LAST_CHUNK |
Constructor Summary | |
---|---|
DefaultHttpChunk(ChannelBuffer content)
Creates a new instance with the specified chunk content. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultHttpChunk(ChannelBuffer content)
Method Detail |
---|
public ChannelBuffer getContent()
HttpChunk
ChannelBuffers.EMPTY_BUFFER
will be returned.
getContent
in interface HttpChunk
public void setContent(ChannelBuffer content)
HttpChunk
setContent
in interface HttpChunk
public boolean isLast()
HttpChunk
true
if and only if this chunk is the 'end of content'
marker.
isLast
in interface HttpChunk
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |