public interface HttpChunkTrailer extends HttpChunk
HttpChunk
which has trailing headers.LAST_CHUNK
Modifier and Type | Method and Description |
---|---|
void |
addHeader(String name,
Object value)
Deprecated.
Use
trailingHeaders() instead. |
void |
clearHeaders()
Deprecated.
Use
trailingHeaders() instead. |
boolean |
containsHeader(String name)
Deprecated.
Use
trailingHeaders() instead. |
String |
getHeader(String name)
Deprecated.
Use
trailingHeaders() instead. |
Set<String> |
getHeaderNames()
Deprecated.
Use
trailingHeaders() instead. |
List<Map.Entry<String,String>> |
getHeaders()
Deprecated.
Use
trailingHeaders() instead. |
List<String> |
getHeaders(String name)
Deprecated.
Use
trailingHeaders() instead. |
boolean |
isLast()
Always returns
true . |
void |
removeHeader(String name)
Deprecated.
Use
trailingHeaders() instead. |
void |
setHeader(String name,
Iterable<?> values)
Deprecated.
Use
trailingHeaders() instead. |
void |
setHeader(String name,
Object value)
Deprecated.
Use
trailingHeaders() instead. |
HttpHeaders |
trailingHeaders()
Returns the trialing headers of this trailer.
|
getContent, setContent
@Deprecated String getHeader(String name)
trailingHeaders()
instead.@Deprecated List<String> getHeaders(String name)
trailingHeaders()
instead.@Deprecated List<Map.Entry<String,String>> getHeaders()
trailingHeaders()
instead.@Deprecated boolean containsHeader(String name)
trailingHeaders()
instead.@Deprecated Set<String> getHeaderNames()
trailingHeaders()
instead.@Deprecated void addHeader(String name, Object value)
trailingHeaders()
instead.@Deprecated void setHeader(String name, Object value)
trailingHeaders()
instead.@Deprecated void setHeader(String name, Iterable<?> values)
trailingHeaders()
instead.@Deprecated void removeHeader(String name)
trailingHeaders()
instead.@Deprecated void clearHeaders()
trailingHeaders()
instead.HttpHeaders trailingHeaders()
Copyright © 2008-2014 The Netty Project. All Rights Reserved.