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.handler.codec.http2 |
Handlers for sending and receiving HTTP/2 frames.
|
io.netty.handler.ssl.ocsp |
Certificate validation using OCSP
|
io.netty.resolver.dns |
An alternative to Java's built-in domain name lookup mechanism that resolves a domain name asynchronously,
which supports the queries of an arbitrary DNS record type as well.
|
io.netty.util |
Utility classes used across multiple packages.
|
Modifier and Type | Method and Description |
---|---|
Map<AttributeKey<?>,Object> |
AbstractBootstrapConfig.attrs()
Returns a copy of the configured attributes.
|
Map<AttributeKey<?>,Object> |
ServerBootstrapConfig.childAttrs()
Returns a copy of the configured attributes which will be used for the child channels.
|
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> |
ChannelHandlerContext.attr(AttributeKey<T> key)
Deprecated.
|
<T> boolean |
ChannelHandlerContext.hasAttr(AttributeKey<T> key)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
<T> Http2StreamChannelBootstrap |
Http2StreamChannelBootstrap.attr(AttributeKey<T> key,
T value)
Allow to specify an initial attribute of the newly created
Http2StreamChannel . |
Modifier and Type | Field and Description |
---|---|
static AttributeKey<Boolean> |
OcspServerCertificateValidator.OCSP_PIPELINE_ATTRIBUTE
An attribute used to mark all channels created by the
OcspServerCertificateValidator . |
Modifier and Type | Field and Description |
---|---|
static AttributeKey<Boolean> |
DnsNameResolver.DNS_PIPELINE_ATTRIBUTE
An attribute used to mark all channels created by the
DnsNameResolver . |
Modifier and Type | Method and Description |
---|---|
AttributeKey<T> |
Attribute.key()
Returns the key of this attribute.
|
static <T> AttributeKey<T> |
AttributeKey.newInstance(String name)
Creates a new
AttributeKey for the given name or fail with an
IllegalArgumentException if a AttributeKey for the given name exists. |
static <T> AttributeKey<T> |
AttributeKey.valueOf(Class<?> firstNameComponent,
String secondNameComponent) |
static <T> AttributeKey<T> |
AttributeKey.valueOf(String name)
Returns the singleton instance of the
AttributeKey which has the specified name . |
Modifier and Type | Method and Description |
---|---|
<T> Attribute<T> |
AttributeMap.attr(AttributeKey<T> key)
Get the
Attribute for the given AttributeKey . |
<T> Attribute<T> |
DefaultAttributeMap.attr(AttributeKey<T> key) |
<T> boolean |
AttributeMap.hasAttr(AttributeKey<T> key)
|
<T> boolean |
DefaultAttributeMap.hasAttr(AttributeKey<T> key) |
Copyright © 2008–2024 The Netty Project. All rights reserved.