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.
|
io.netty.handler.codec.http |
Encoder, decoder and their related message types for HTTP.
|
io.netty.handler.codec.http2 |
Handlers for sending and receiving HTTP/2 frames.
|
io.netty.handler.codec.spdy |
Encoder, decoder, session handler and their related message types for the SPDY protocol.
|
io.netty.handler.codec.stomp |
STOMP codec
|
Modifier and Type | Interface and Description |
---|---|
interface |
BinaryHeaders
A typical
AsciiString multimap used by protocols that use binary headers (such as HTTP/2) for the
representation of arbitrary key-value data. |
interface |
ConvertibleHeaders<UnconvertedType,ConvertedType>
Extension to the
Headers interface to provide methods which convert the
native UnconvertedType to the not-native ConvertedType |
interface |
TextHeaders
A typical string multimap used by text protocols such as HTTP for the representation of arbitrary key-value data.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultBinaryHeaders |
class |
DefaultConvertibleHeaders<UnconvertedType,ConvertedType> |
class |
DefaultHeaders<T> |
class |
DefaultTextHeaders |
class |
EmptyBinaryHeaders |
class |
EmptyConvertibleHeaders<UnconvertedType,ConvertedType> |
class |
EmptyHeaders<T> |
class |
EmptyTextHeaders |
Modifier and Type | Method and Description |
---|---|
Headers<T> |
DefaultHeaders.add(Headers<T> headers) |
Headers<T> |
Headers.add(Headers<T> headers)
Adds all header entries of the specified
headers . |
Headers<T> |
EmptyHeaders.add(Headers<T> headers) |
Headers<T> |
DefaultHeaders.add(T name,
Iterable<? extends T> values) |
Headers<T> |
Headers.add(T name,
Iterable<? extends T> values)
Adds a new header with the specified name and values.
|
Headers<T> |
EmptyHeaders.add(T name,
Iterable<? extends T> values) |
Headers<T> |
DefaultHeaders.add(T name,
T... values) |
Headers<T> |
Headers.add(T name,
T... values)
Adds a new header with the specified name and values.
|
Headers<T> |
EmptyHeaders.add(T name,
T... values) |
Headers<T> |
DefaultHeaders.add(T name,
T value) |
Headers<T> |
Headers.add(T name,
T value)
Adds a new header with the specified name and value.
|
Headers<T> |
EmptyHeaders.add(T name,
T value) |
Headers<T> |
DefaultHeaders.addBoolean(T name,
boolean value) |
Headers<T> |
Headers.addBoolean(T name,
boolean value)
Add the
name to value . |
Headers<T> |
EmptyHeaders.addBoolean(T name,
boolean value) |
Headers<T> |
DefaultHeaders.addByte(T name,
byte value) |
Headers<T> |
Headers.addByte(T name,
byte value)
Add the
name to value . |
Headers<T> |
EmptyHeaders.addByte(T name,
byte value) |
Headers<T> |
DefaultHeaders.addChar(T name,
char value) |
Headers<T> |
Headers.addChar(T name,
char value)
Add the
name to value . |
Headers<T> |
EmptyHeaders.addChar(T name,
char value) |
Headers<T> |
DefaultHeaders.addDouble(T name,
double value) |
Headers<T> |
Headers.addDouble(T name,
double value)
Add the
name to value . |
Headers<T> |
EmptyHeaders.addDouble(T name,
double value) |
Headers<T> |
DefaultHeaders.addFloat(T name,
float value) |
Headers<T> |
Headers.addFloat(T name,
float value)
Add the
name to value . |
Headers<T> |
EmptyHeaders.addFloat(T name,
float value) |
Headers<T> |
DefaultHeaders.addInt(T name,
int value) |
Headers<T> |
Headers.addInt(T name,
int value)
Add the
name to value . |
Headers<T> |
EmptyHeaders.addInt(T name,
int value) |
Headers<T> |
DefaultHeaders.addLong(T name,
long value) |
Headers<T> |
Headers.addLong(T name,
long value)
Add the
name to value . |
Headers<T> |
EmptyHeaders.addLong(T name,
long value) |
Headers<T> |
DefaultHeaders.addObject(T name,
Iterable<?> values) |
Headers<T> |
Headers.addObject(T name,
Iterable<?> values)
Adds a new header with the specified name and values.
|
Headers<T> |
EmptyHeaders.addObject(T name,
Iterable<?> values) |
Headers<T> |
DefaultHeaders.addObject(T name,
Object... values) |
Headers<T> |
Headers.addObject(T name,
Object... values)
Adds a new header with the specified name and values.
|
Headers<T> |
EmptyHeaders.addObject(T name,
Object... values) |
Headers<T> |
DefaultHeaders.addObject(T name,
Object value) |
Headers<T> |
Headers.addObject(T name,
Object value)
Adds a new header with the specified name and value.
|
Headers<T> |
EmptyHeaders.addObject(T name,
Object value) |
Headers<T> |
DefaultHeaders.addShort(T name,
short value) |
Headers<T> |
Headers.addShort(T name,
short value)
Add the
name to value . |
Headers<T> |
EmptyHeaders.addShort(T name,
short value) |
Headers<T> |
DefaultHeaders.addTimeMillis(T name,
long value) |
Headers<T> |
Headers.addTimeMillis(T name,
long value)
Add the
name to value . |
Headers<T> |
EmptyHeaders.addTimeMillis(T name,
long value) |
Headers<T> |
DefaultHeaders.clear() |
Headers<T> |
Headers.clear()
Removes all headers.
|
Headers<T> |
EmptyHeaders.clear() |
Headers<T> |
DefaultHeaders.set(Headers<T> headers) |
Headers<T> |
Headers.set(Headers<T> headers)
Cleans the current header entries and copies all header entries of the specified
headers . |
Headers<T> |
EmptyHeaders.set(Headers<T> headers) |
Headers<T> |
DefaultHeaders.set(T name,
Iterable<? extends T> values) |
Headers<T> |
Headers.set(T name,
Iterable<? extends T> values)
Sets a header with the specified name and values.
|
Headers<T> |
EmptyHeaders.set(T name,
Iterable<? extends T> values) |
Headers<T> |
DefaultHeaders.set(T name,
T... values) |
Headers<T> |
Headers.set(T name,
T... values)
Sets a header with the specified name and values.
|
Headers<T> |
EmptyHeaders.set(T name,
T... values) |
Headers<T> |
DefaultHeaders.set(T name,
T value) |
Headers<T> |
Headers.set(T name,
T value)
Sets a header with the specified name and value.
|
Headers<T> |
EmptyHeaders.set(T name,
T value) |
Headers<T> |
DefaultHeaders.setAll(Headers<T> headers) |
Headers<T> |
Headers.setAll(Headers<T> headers)
Retains all current headers but calls
set(Object, Object) for each entry in headers |
Headers<T> |
EmptyHeaders.setAll(Headers<T> headers) |
Headers<T> |
DefaultHeaders.setBoolean(T name,
boolean value) |
Headers<T> |
Headers.setBoolean(T name,
boolean value)
Set the
name to value . |
Headers<T> |
EmptyHeaders.setBoolean(T name,
boolean value) |
Headers<T> |
DefaultHeaders.setByte(T name,
byte value) |
Headers<T> |
Headers.setByte(T name,
byte value)
Set the
name to value . |
Headers<T> |
EmptyHeaders.setByte(T name,
byte value) |
Headers<T> |
DefaultHeaders.setChar(T name,
char value) |
Headers<T> |
Headers.setChar(T name,
char value)
Set the
name to value . |
Headers<T> |
EmptyHeaders.setChar(T name,
char value) |
Headers<T> |
DefaultHeaders.setDouble(T name,
double value) |
Headers<T> |
Headers.setDouble(T name,
double value)
Set the
name to value . |
Headers<T> |
EmptyHeaders.setDouble(T name,
double value) |
Headers<T> |
DefaultHeaders.setFloat(T name,
float value) |
Headers<T> |
Headers.setFloat(T name,
float value)
Set the
name to value . |
Headers<T> |
EmptyHeaders.setFloat(T name,
float value) |
Headers<T> |
DefaultHeaders.setInt(T name,
int value) |
Headers<T> |
Headers.setInt(T name,
int value)
Set the
name to value . |
Headers<T> |
EmptyHeaders.setInt(T name,
int value) |
Headers<T> |
DefaultHeaders.setLong(T name,
long value) |
Headers<T> |
Headers.setLong(T name,
long value)
Set the
name to value . |
Headers<T> |
EmptyHeaders.setLong(T name,
long value) |
Headers<T> |
DefaultHeaders.setObject(T name,
Iterable<?> values) |
Headers<T> |
Headers.setObject(T name,
Iterable<?> values)
Sets a header with the specified name and values.
|
Headers<T> |
EmptyHeaders.setObject(T name,
Iterable<?> values) |
Headers<T> |
DefaultHeaders.setObject(T name,
Object... values) |
Headers<T> |
Headers.setObject(T name,
Object... values)
Sets a header with the specified name and values.
|
Headers<T> |
EmptyHeaders.setObject(T name,
Object... values) |
Headers<T> |
DefaultHeaders.setObject(T name,
Object value) |
Headers<T> |
Headers.setObject(T name,
Object value)
Sets a header with the specified name and value.
|
Headers<T> |
EmptyHeaders.setObject(T name,
Object value) |
Headers<T> |
DefaultHeaders.setShort(T name,
short value) |
Headers<T> |
Headers.setShort(T name,
short value)
Set the
name to value . |
Headers<T> |
EmptyHeaders.setShort(T name,
short value) |
Headers<T> |
DefaultHeaders.setTimeMillis(T name,
long value) |
Headers<T> |
Headers.setTimeMillis(T name,
long value)
Set the
name to value . |
Headers<T> |
EmptyHeaders.setTimeMillis(T name,
long value) |
Modifier and Type | Method and Description |
---|---|
Headers<T> |
DefaultHeaders.add(Headers<T> headers) |
Headers<T> |
Headers.add(Headers<T> headers)
Adds all header entries of the specified
headers . |
Headers<T> |
EmptyHeaders.add(Headers<T> headers) |
Headers<T> |
DefaultHeaders.set(Headers<T> headers) |
Headers<T> |
Headers.set(Headers<T> headers)
Cleans the current header entries and copies all header entries of the specified
headers . |
Headers<T> |
EmptyHeaders.set(Headers<T> headers) |
Headers<T> |
DefaultHeaders.setAll(Headers<T> headers) |
Headers<T> |
Headers.setAll(Headers<T> headers)
Retains all current headers but calls
set(Object, Object) for each entry in headers |
Headers<T> |
EmptyHeaders.setAll(Headers<T> headers) |
Modifier and Type | Interface and Description |
---|---|
interface |
HttpHeaders
Provides the constants for the standard HTTP header names and values and
commonly used utility methods that accesses an
HttpMessage . |
Modifier and Type | Class and Description |
---|---|
class |
DefaultHttpHeaders |
class |
EmptyHttpHeaders |
Modifier and Type | Interface and Description |
---|---|
interface |
Http2Headers
A collection of headers sent or received via HTTP/2.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultHttp2Headers |
class |
EmptyHttp2Headers |
Modifier and Type | Interface and Description |
---|---|
interface |
SpdyHeaders
Provides the constants for the standard SPDY HTTP header names and commonly
used utility methods that access a
SpdyHeadersFrame . |
Modifier and Type | Class and Description |
---|---|
class |
DefaultSpdyHeaders |
Modifier and Type | Interface and Description |
---|---|
interface |
StompHeaders
The multimap data structure for the STOMP header names and values.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultStompHeaders |
Copyright © 2008–2015 The Netty Project. All rights reserved.