|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.netty.handler.codec.http2.DefaultHttpChunk
public class DefaultHttpChunk

The default HttpChunk implementation.
| Field Summary |
|---|
| Fields inherited from interface org.jboss.netty.handler.codec.http2.HttpChunk |
|---|
LAST_CHUNK |
| Constructor Summary | |
|---|---|
DefaultHttpChunk(org.jboss.netty.buffer.ChannelBuffer content)
Creates a new instance with the specified chunk content. |
|
| 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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultHttpChunk(org.jboss.netty.buffer.ChannelBuffer content)
| Method Detail |
|---|
public org.jboss.netty.buffer.ChannelBuffer getContent()
HttpChunkChannelBuffers.EMPTY_BUFFER will be returned.
getContent in interface HttpChunkpublic void setContent(org.jboss.netty.buffer.ChannelBuffer content)
HttpChunk
setContent in interface HttpChunkpublic boolean isLast()
HttpChunktrue 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 | |||||||||