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()
HttpChunkTrailer
true
.isLast
in interface HttpChunk
isLast
in interface HttpChunkTrailer
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 HttpHeaders trailingHeaders()
HttpChunkTrailer
trailingHeaders
in interface HttpChunkTrailer
Copyright © 2008-2016 The Netty Project. All Rights Reserved.