程序包 | 说明 |
---|---|
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.example.stomp.websocket | |
io.netty.handler.codec.http2 |
Benchmarks for
io.netty.handler.codec.http2 . |
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 |
Benchmarks for
io.netty.util . |
限定符和类型 | 方法和说明 |
---|---|
java.util.Map<AttributeKey<?>,java.lang.Object> |
AbstractBootstrapConfig.attrs()
Returns a copy of the configured attributes.
|
java.util.Map<AttributeKey<?>,java.lang.Object> |
ServerBootstrapConfig.childAttrs()
Returns a copy of the configured attributes which will be used for the child channels.
|
限定符和类型 | 方法和说明 |
---|---|
<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 . |
限定符和类型 | 方法和说明 |
---|---|
<T> Attribute<T> |
ChannelHandlerContext.attr(AttributeKey<T> key)
已过时。
|
<T> boolean |
ChannelHandlerContext.hasAttr(AttributeKey<T> key)
已过时。
|
限定符和类型 | 字段和说明 |
---|---|
static AttributeKey<StompVersion> |
StompVersion.CHANNEL_ATTRIBUTE_KEY |
限定符和类型 | 方法和说明 |
---|---|
<T> Http2StreamChannelBootstrap |
Http2StreamChannelBootstrap.attr(AttributeKey<T> key,
T value)
Allow to specify an initial attribute of the newly created
Http2StreamChannel . |
限定符和类型 | 字段和说明 |
---|---|
static AttributeKey<java.lang.Boolean> |
OcspServerCertificateValidator.OCSP_PIPELINE_ATTRIBUTE
An attribute used to mark all channels created by the
OcspServerCertificateValidator . |
限定符和类型 | 字段和说明 |
---|---|
static AttributeKey<java.lang.Boolean> |
DnsNameResolver.DNS_PIPELINE_ATTRIBUTE
An attribute used to mark all channels created by the
DnsNameResolver . |
限定符和类型 | 方法和说明 |
---|---|
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 name or fail with an
IllegalArgumentException if a AttributeKey for the given name exists. |
static <T> AttributeKey<T> |
AttributeKey.valueOf(java.lang.Class<?> firstNameComponent,
java.lang.String secondNameComponent) |
static <T> AttributeKey<T> |
AttributeKey.valueOf(java.lang.String name)
Returns the singleton instance of the
AttributeKey which has the specified name . |
限定符和类型 | 方法和说明 |
---|---|
<T> Attribute<T> |
DefaultAttributeMap.attr(AttributeKey<T> key) |
<T> Attribute<T> |
AttributeMap.attr(AttributeKey<T> key)
Get the
Attribute for the given AttributeKey . |
<T> boolean |
DefaultAttributeMap.hasAttr(AttributeKey<T> key) |
<T> boolean |
AttributeMap.hasAttr(AttributeKey<T> key)
|