public class DefaultHttpChunkTrailer extends Object implements HttpChunkTrailer
HttpChunkTrailer
implementation.LAST_CHUNK
Constructor and Description |
---|
DefaultHttpChunkTrailer() |
Modifier and Type | Method and Description |
---|---|
void |
addHeader(String name,
Object value)
Deprecated.
|
void |
clearHeaders()
Deprecated.
|
boolean |
containsHeader(String name)
Deprecated.
|
ChannelBuffer |
getContent()
Returns the content of this chunk.
|
String |
getHeader(String name)
Deprecated.
|
Set<String> |
getHeaderNames()
Deprecated.
|
List<Map.Entry<String,String>> |
getHeaders()
Deprecated.
|
List<String> |
getHeaders(String name)
Deprecated.
|
boolean |
isLast()
Always returns
true . |
void |
removeHeader(String name)
Deprecated.
|
void |
setContent(ChannelBuffer content)
Sets the content of this chunk.
|
void |
setHeader(String name,
Iterable<?> values)
Deprecated.
|
void |
setHeader(String name,
Object value)
Deprecated.
|
String |
toString() |
HttpHeaders |
trailingHeaders()
Returns the trialing headers of this trailer.
|
public boolean isLast()
HttpChunkTrailer
true
.isLast
in interface HttpChunk
isLast
in interface HttpChunkTrailer
@Deprecated public void addHeader(String name, Object value)
addHeader
in interface HttpChunkTrailer
@Deprecated public void setHeader(String name, Object value)
setHeader
in interface HttpChunkTrailer
@Deprecated public void setHeader(String name, Iterable<?> values)
setHeader
in interface HttpChunkTrailer
@Deprecated public void removeHeader(String name)
removeHeader
in interface HttpChunkTrailer
@Deprecated public void clearHeaders()
clearHeaders
in interface HttpChunkTrailer
@Deprecated public String getHeader(String name)
getHeader
in interface HttpChunkTrailer
@Deprecated public List<String> getHeaders(String name)
getHeaders
in interface HttpChunkTrailer
@Deprecated public List<Map.Entry<String,String>> getHeaders()
getHeaders
in interface HttpChunkTrailer
@Deprecated public boolean containsHeader(String name)
containsHeader
in interface HttpChunkTrailer
@Deprecated public Set<String> getHeaderNames()
getHeaderNames
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-2015 The Netty Project. All Rights Reserved.