public class DefaultHttpChunkTrailer extends java.lang.Object implements HttpChunkTrailer
HttpChunkTrailer implementation.| Modifier and Type | Class and Description |
|---|---|
private static class |
DefaultHttpChunkTrailer.TrailingHeaders |
| Modifier and Type | Field and Description |
|---|---|
private HttpHeaders |
trailingHeaders |
LAST_CHUNK| Constructor and Description |
|---|
DefaultHttpChunkTrailer() |
| Modifier and Type | Method and Description |
|---|---|
private void |
appendHeaders(java.lang.StringBuilder buf) |
ChannelBuffer |
getContent()
Returns the content of this chunk.
|
boolean |
isLast()
Always returns
true. |
void |
setContent(ChannelBuffer content)
Sets the content of this chunk.
|
java.lang.String |
toString() |
HttpHeaders |
trailingHeaders()
Returns the trialing headers of this trailer.
|
private final HttpHeaders trailingHeaders
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 HttpChunkTrailerpublic java.lang.String toString()
toString in class java.lang.Objectprivate void appendHeaders(java.lang.StringBuilder buf)