|
|||||||||
| 上一个类 下一个类 | 框架 无框架 | ||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | ||||||||
java.lang.Objectorg.jboss.netty.handler.codec.http.DefaultHttpChunkTrailer
public class DefaultHttpChunkTrailer

The default HttpChunkTrailer implementation.
| 字段摘要 |
|---|
| 从接口 org.jboss.netty.handler.codec.http.HttpChunk 继承的字段 |
|---|
LAST_CHUNK |
| 构造方法摘要 | |
|---|---|
DefaultHttpChunkTrailer()
|
|
| 方法摘要 | |
|---|---|
void |
addHeader(java.lang.String name,
java.lang.Object value)
Adds a new trailing header with the specified name and value. |
void |
clearHeaders()
Removes all trailing headers from this trailer. |
boolean |
containsHeader(java.lang.String name)
Returns true if and only if there is a trailing header with
the specified header name. |
ChannelBuffer |
getContent()
Returns the content of this chunk. |
java.lang.String |
getHeader(java.lang.String name)
Returns the trailing header value with the specified header name. |
java.util.Set<java.lang.String> |
getHeaderNames()
Returns the Set of all trailing header names that this trailer
contains. |
java.util.List<java.util.Map.Entry<java.lang.String,java.lang.String>> |
getHeaders()
Returns the all header names and values that this trailer contains. |
java.util.List<java.lang.String> |
getHeaders(java.lang.String name)
Returns the trailing header values with the specified header name. |
boolean |
isLast()
Always returns true. |
void |
removeHeader(java.lang.String name)
Removes the trailing header with the specified name. |
void |
setContent(ChannelBuffer content)
Sets the content of this chunk. |
void |
setHeader(java.lang.String name,
java.lang.Iterable<?> values)
Sets a new trailing header with the specified name and values. |
void |
setHeader(java.lang.String name,
java.lang.Object value)
Sets a new trailing header with the specified name and value. |
| 从类 java.lang.Object 继承的方法 |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 构造方法详细信息 |
|---|
public DefaultHttpChunkTrailer()
| 方法详细信息 |
|---|
public boolean isLast()
HttpChunkTrailer 复制的描述true.
HttpChunk 中的 isLastHttpChunkTrailer 中的 isLast
public void addHeader(java.lang.String name,
java.lang.Object value)
HttpChunkTrailer 复制的描述
HttpChunkTrailer 中的 addHeader
public void setHeader(java.lang.String name,
java.lang.Object value)
HttpChunkTrailer 复制的描述
HttpChunkTrailer 中的 setHeader
public void setHeader(java.lang.String name,
java.lang.Iterable<?> values)
HttpChunkTrailer 复制的描述
HttpChunkTrailer 中的 setHeaderpublic void removeHeader(java.lang.String name)
HttpChunkTrailer 复制的描述
HttpChunkTrailer 中的 removeHeaderpublic void clearHeaders()
HttpChunkTrailer 复制的描述
HttpChunkTrailer 中的 clearHeaderspublic java.lang.String getHeader(java.lang.String name)
HttpChunkTrailer 复制的描述
HttpChunkTrailer 中的 getHeadernull if there is no such headerpublic java.util.List<java.lang.String> getHeaders(java.lang.String name)
HttpChunkTrailer 复制的描述
HttpChunkTrailer 中的 getHeadersList of header values. An empty list if there is no
such header.public java.util.List<java.util.Map.Entry<java.lang.String,java.lang.String>> getHeaders()
HttpChunkTrailer 复制的描述
HttpChunkTrailer 中的 getHeadersList of the header name-value pairs. An empty list
if there is no header in this trailer.public boolean containsHeader(java.lang.String name)
HttpChunkTrailer 复制的描述true if and only if there is a trailing header with
the specified header name.
HttpChunkTrailer 中的 containsHeaderpublic java.util.Set<java.lang.String> getHeaderNames()
HttpChunkTrailer 复制的描述Set of all trailing header names that this trailer
contains.
HttpChunkTrailer 中的 getHeaderNamespublic ChannelBuffer getContent()
HttpChunk 复制的描述ChannelBuffers.EMPTY_BUFFER will be returned.
HttpChunk 中的 getContentpublic void setContent(ChannelBuffer content)
HttpChunk 复制的描述
HttpChunk 中的 setContent
|
|||||||||
| 上一个类 下一个类 | 框架 无框架 | ||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | ||||||||