Package | Description |
---|---|
io.netty.handler.codec |
Extensible decoder and its common implementations which deal with the
packet fragmentation and reassembly issue found in a stream-based transport
such as TCP/IP.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultHeaders<K,V,T extends Headers<K,V,T>>
Default implementation of
Headers ; |
class |
EmptyHeaders<K,V,T extends Headers<K,V,T>> |
interface |
Headers<K,V,T extends Headers<K,V,T>>
Common interface for
Headers which represents a mapping of key to value. |
Modifier and Type | Class and Description |
---|---|
class |
DefaultHeaders<K,V,T extends Headers<K,V,T>>
Default implementation of
Headers ; |
class |
DefaultHeadersImpl<K,V>
A concrete implementation of
DefaultHeaders that allows for direct instantiation. |
class |
EmptyHeaders<K,V,T extends Headers<K,V,T>> |
Modifier and Type | Method and Description |
---|---|
T |
Headers.add(Headers<? extends K,? extends V,?> headers)
Adds all header names and values of
headers to this object. |
T |
EmptyHeaders.add(Headers<? extends K,? extends V,?> headers) |
T |
DefaultHeaders.add(Headers<? extends K,? extends V,?> headers) |
protected void |
DefaultHeaders.addImpl(Headers<? extends K,? extends V,?> headers) |
boolean |
DefaultHeaders.equals(Headers<K,V,?> h2,
io.netty.util.HashingStrategy<V> valueHashingStrategy)
Test this object for equality against
h2 . |
static <K,V> List<String> |
HeadersUtils.getAllAsString(Headers<K,V,?> headers,
K name)
|
static <K,V> String |
HeadersUtils.getAsString(Headers<K,V,?> headers,
K name)
get(Object) and convert the result to a String . |
static Set<String> |
HeadersUtils.namesAsString(Headers<CharSequence,CharSequence,?> headers)
|
T |
Headers.set(Headers<? extends K,? extends V,?> headers)
Clears the current header entries and copies all header entries of the specified
headers . |
T |
EmptyHeaders.set(Headers<? extends K,? extends V,?> headers) |
T |
DefaultHeaders.set(Headers<? extends K,? extends V,?> headers) |
T |
Headers.setAll(Headers<? extends K,? extends V,?> headers)
Retains all current headers but calls
#set(K, V) for each entry in headers . |
T |
EmptyHeaders.setAll(Headers<? extends K,? extends V,?> headers) |
T |
DefaultHeaders.setAll(Headers<? extends K,? extends V,?> headers) |
Copyright © 2008–2019 The Netty Project. All rights reserved.