public class DefaultHttpChunkTrailer extends java.lang.Object implements HttpChunkTrailer
HttpChunkTrailer implementation.LAST_CHUNK| 构造器和说明 |
|---|
DefaultHttpChunkTrailer() |
| 限定符和类型 | 方法和说明 |
|---|---|
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.
|
public boolean isLast()
HttpChunkTrailertrue.isLast 在接口中 HttpChunkisLast 在接口中 HttpChunkTrailerpublic ChannelBuffer getContent()
HttpChunkChannelBuffers.EMPTY_BUFFER will be returned.getContent 在接口中 HttpChunkpublic void setContent(ChannelBuffer content)
HttpChunksetContent 在接口中 HttpChunkpublic HttpHeaders trailingHeaders()
HttpChunkTrailertrailingHeaders 在接口中 HttpChunkTrailerpublic java.lang.String toString()
toString 在类中 java.lang.Object