Class DefaultHttpChunkTrailer
java.lang.Object
org.jboss.netty.handler.codec.http.DefaultHttpChunkTrailer
- All Implemented Interfaces:
HttpChunk, HttpChunkTrailer
The default
HttpChunkTrailer implementation.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static final class -
Field Summary
FieldsFields inherited from interface HttpChunk
LAST_CHUNK -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidReturns the content of this chunk.booleanisLast()Always returnstrue.voidsetContent(ChannelBuffer content) Sets the content of this chunk.toString()Returns the trialing headers of this trailer.
-
Field Details
-
trailingHeaders
-
-
Constructor Details
-
DefaultHttpChunkTrailer
public DefaultHttpChunkTrailer()
-
-
Method Details
-
isLast
public boolean isLast()Description copied from interface:HttpChunkTrailerAlways returnstrue.- Specified by:
isLastin interfaceHttpChunk- Specified by:
isLastin interfaceHttpChunkTrailer
-
getContent
Description copied from interface:HttpChunkReturns the content of this chunk. If this is the 'end of content' marker,ChannelBuffers.EMPTY_BUFFERwill be returned.- Specified by:
getContentin interfaceHttpChunk
-
setContent
Description copied from interface:HttpChunkSets the content of this chunk. If an empty buffer is specified, this chunk becomes the 'end of content' marker.- Specified by:
setContentin interfaceHttpChunk
-
trailingHeaders
Description copied from interface:HttpChunkTrailerReturns the trialing headers of this trailer.- Specified by:
trailingHeadersin interfaceHttpChunkTrailer
-
toString
-
appendHeaders
-