Package | Description |
---|---|
io.netty.bootstrap |
The helper classes with fluent API which enable an easy implementation of
typical client side and server side channel initialization.
|
io.netty.channel |
The core channel API which is asynchronous and event-driven abstraction of
various transports such as a
NIO Channel.
|
io.netty.channel.pool |
Implementations and API for
Channel pools. |
io.netty.handler.codec.http.websocketx |
Encoder, decoder, handshakers and their related message types for
Web Socket data frames.
|
io.netty.handler.codec.serialization |
Encoder, decoder and their compatibility stream implementations which
transform a
Serializable object into a byte buffer and
vice versa. |
io.netty.handler.traffic |
Implementation of a Traffic Shaping Handler and Dynamic Statistics.
|
io.netty.util |
Utility classes used across multiple packages.
|
Modifier and Type | Field and Description |
---|---|
private java.util.Map<AttributeKey<?>,java.lang.Object> |
AbstractBootstrap.attrs |
private java.util.Map<AttributeKey<?>,java.lang.Object> |
ServerBootstrap.childAttrs |
Modifier and Type | Method and Description |
---|---|
(package private) java.util.Map<AttributeKey<?>,java.lang.Object> |
AbstractBootstrap.attrs() |
Modifier and Type | Method and Description |
---|---|
<T> B |
AbstractBootstrap.attr(AttributeKey<T> key,
T value)
Allow to specify an initial attribute of the newly created
Channel . |
<T> ServerBootstrap |
ServerBootstrap.childAttr(AttributeKey<T> childKey,
T value)
Set the specific
AttributeKey with the given value on every child Channel . |
Modifier and Type | Method and Description |
---|---|
<T> Attribute<T> |
CombinedChannelDuplexHandler.DelegatingChannelHandlerContext.attr(AttributeKey<T> key) |
Modifier and Type | Field and Description |
---|---|
private static AttributeKey<SimpleChannelPool> |
SimpleChannelPool.POOL_KEY |
Modifier and Type | Field and Description |
---|---|
private static AttributeKey<WebSocketServerHandshaker> |
WebSocketServerProtocolHandler.HANDSHAKER_ATTR_KEY |
Modifier and Type | Field and Description |
---|---|
private static AttributeKey<java.io.ObjectOutputStream> |
CompatibleObjectEncoder.OOS |
Modifier and Type | Field and Description |
---|---|
(package private) static AttributeKey<java.lang.Boolean> |
AbstractTrafficShapingHandler.READ_SUSPENDED |
(package private) static AttributeKey<java.lang.Runnable> |
AbstractTrafficShapingHandler.REOPEN_TASK |
Modifier and Type | Field and Description |
---|---|
private AttributeKey<T> |
DefaultAttributeMap.DefaultAttribute.key |
Modifier and Type | Field and Description |
---|---|
private static java.util.concurrent.ConcurrentMap<java.lang.String,AttributeKey> |
AttributeKey.names |
Modifier and Type | Method and Description |
---|---|
AttributeKey<T> |
DefaultAttributeMap.DefaultAttribute.key() |
AttributeKey<T> |
Attribute.key()
Returns the key of this attribute.
|
static <T> AttributeKey<T> |
AttributeKey.newInstance(java.lang.String name)
Creates a new
AttributeKey for the given or fail with an
IllegalArgumentException if a AttributeKey for the given exists. |
static <T> AttributeKey<T> |
AttributeKey.valueOf(java.lang.String name)
Creates a new
AttributeKey with the specified or return the already existing
AttributeKey for the given name. |
Modifier and Type | Method and Description |
---|---|
<T> Attribute<T> |
DefaultAttributeMap.attr(AttributeKey<T> key) |
<T> Attribute<T> |
AttributeMap.attr(AttributeKey<T> key)
Get the
Attribute for the given AttributeKey . |
private static int |
DefaultAttributeMap.index(AttributeKey<?> key) |
Constructor and Description |
---|
DefaultAttribute(DefaultAttributeMap.DefaultAttribute<?> head,
AttributeKey<T> key) |