程序包 | 说明 |
---|---|
org.jboss.netty.handler.codec.http |
Encoder, decoder and their related message types for HTTP.
|
限定符和类型 | 类和说明 |
---|---|
class |
DefaultHttpHeaders |
限定符和类型 | 字段和说明 |
---|---|
static HttpHeaders |
HttpHeaders.EMPTY_HEADERS |
限定符和类型 | 方法和说明 |
---|---|
HttpHeaders |
HttpHeaders.add(HttpHeaders headers)
Adds all header entries of the specified
headers . |
abstract HttpHeaders |
HttpHeaders.add(java.lang.String name,
java.lang.Iterable<?> values)
Adds a new header with the specified name and values.
|
HttpHeaders |
DefaultHttpHeaders.add(java.lang.String name,
java.lang.Iterable<?> values) |
abstract HttpHeaders |
HttpHeaders.add(java.lang.String name,
java.lang.Object value)
Adds a new header with the specified name and value.
|
HttpHeaders |
DefaultHttpHeaders.add(java.lang.String name,
java.lang.Object value) |
abstract HttpHeaders |
HttpHeaders.clear()
Removes all headers from this
HttpMessage . |
HttpHeaders |
DefaultHttpHeaders.clear() |
HttpHeaders |
HttpMessage.headers()
Returns the headers of this message.
|
HttpHeaders |
DefaultHttpMessage.headers() |
abstract HttpHeaders |
HttpHeaders.remove(java.lang.String name)
Removes the header with the specified name.
|
HttpHeaders |
DefaultHttpHeaders.remove(java.lang.String name) |
HttpHeaders |
HttpHeaders.set(HttpHeaders headers)
Cleans the current header entries and copies all header entries of the specified
headers . |
abstract HttpHeaders |
HttpHeaders.set(java.lang.String name,
java.lang.Iterable<?> values)
Sets a header with the specified name and values.
|
HttpHeaders |
DefaultHttpHeaders.set(java.lang.String name,
java.lang.Iterable<?> values) |
abstract HttpHeaders |
HttpHeaders.set(java.lang.String name,
java.lang.Object value)
Sets a header with the specified name and value.
|
HttpHeaders |
DefaultHttpHeaders.set(java.lang.String name,
java.lang.Object value) |
HttpHeaders |
HttpChunkTrailer.trailingHeaders()
Returns the trialing headers of this trailer.
|
HttpHeaders |
DefaultHttpChunkTrailer.trailingHeaders() |
限定符和类型 | 方法和说明 |
---|---|
HttpHeaders |
HttpHeaders.add(HttpHeaders headers)
Adds all header entries of the specified
headers . |
HttpHeaders |
HttpHeaders.set(HttpHeaders headers)
Cleans the current header entries and copies all header entries of the specified
headers . |