|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IcapChunkTrailer
Icap chunk trailer. In comparison to Http this will always be the last chunk in any transmission. With or without trailing hedaers.
| Field Summary |
|---|
| Fields inherited from interface org.jboss.netty.handler.codec.http.HttpChunk |
|---|
LAST_CHUNK |
| Method Summary | |
|---|---|
void |
addHeader(String name,
Object value)
Adds a new trailing header with the specified name and value. |
void |
clearHeaders()
Removes all trailing headers from this trailer. |
boolean |
containsHeader(String name)
Returns true if and only if there is a trailing header with
the specified header name. |
String |
getHeader(String name)
Returns the trailing header value with the specified header name. |
Set<String> |
getHeaderNames()
Returns the Set of all trailing header names that this trailer
contains. |
List<Map.Entry<String,String>> |
getHeaders()
Returns the all header names and values that this trailer contains. |
List<String> |
getHeaders(String name)
Returns the trailing header values with the specified header name. |
boolean |
isLast()
Always returns true. |
void |
removeHeader(String name)
Removes the trailing header with the specified name. |
void |
setHeader(String name,
Iterable<?> values)
Sets a new trailing header with the specified name and values. |
void |
setHeader(String name,
Object value)
Sets a new trailing header with the specified name and value. |
| Methods inherited from interface ch.mimo.netty.handler.codec.icap.IcapChunk |
|---|
isEarlyTerminated, isPreviewChunk, setEarlyTermination, setPreviewChunk |
| Methods inherited from interface org.jboss.netty.handler.codec.http.HttpChunk |
|---|
getContent, setContent |
| Method Detail |
|---|
boolean isLast()
true.
isLast in interface org.jboss.netty.handler.codec.http.HttpChunkString getHeader(String name)
null if there is no such headerList<String> getHeaders(String name)
List of header values. An empty list if there is no
such header.List<Map.Entry<String,String>> getHeaders()
List of the header name-value pairs. An empty list
if there is no header in this trailer.boolean containsHeader(String name)
true if and only if there is a trailing header with
the specified header name.
Set<String> getHeaderNames()
Set of all trailing header names that this trailer
contains.
void addHeader(String name,
Object value)
void setHeader(String name,
Object value)
void setHeader(String name,
Iterable<?> values)
void removeHeader(String name)
void clearHeaders()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||