public class DefaultHttpChunkTrailer extends Object implements HttpChunkTrailer
HttpChunkTrailer implementation.LAST_CHUNK| Constructor and Description |
|---|
DefaultHttpChunkTrailer() |
| Modifier and Type | Method and Description |
|---|---|
ChannelBuffer |
getContent()
Returns the content of this chunk.
|
boolean |
isLast()
Always returns
true. |
void |
setContent(ChannelBuffer content)
Sets the content of this chunk.
|
String |
toString() |
HttpHeaders |
trailingHeaders()
Returns the trialing headers of this trailer.
|
public boolean isLast()
HttpChunkTrailertrue.isLast in interface HttpChunkisLast in interface HttpChunkTrailerpublic ChannelBuffer getContent()
HttpChunkChannelBuffers.EMPTY_BUFFER will be returned.getContent in interface HttpChunkpublic void setContent(ChannelBuffer content)
HttpChunksetContent in interface HttpChunkpublic HttpHeaders trailingHeaders()
HttpChunkTrailertrailingHeaders in interface HttpChunkTrailerCopyright © 2008-2016 The Netty Project. All Rights Reserved.