Uses of Class
io.netty.util.AttributeKey
Packages that use AttributeKey
Package
Description
The helper classes with fluent API which enable an easy implementation of
typical client side and server side channel initialization.
The core channel API which is asynchronous and event-driven abstraction of
various transports such as a
NIO Channel.
Handlers for sending and receiving HTTP/2 frames.
QUIC implementation
Certificate validation using OCSP
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.
Utility classes used across multiple packages.
-
Uses of AttributeKey in io.netty.bootstrap
Methods in io.netty.bootstrap that return types with arguments of type AttributeKeyModifier and TypeMethodDescriptionfinal 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.Methods in io.netty.bootstrap with parameters of type AttributeKeyModifier and TypeMethodDescription<T> BAbstractBootstrap.attr(AttributeKey<T> key, T value) Allow to specify an initial attribute of the newly createdChannel.<T> ServerBootstrapServerBootstrap.childAttr(AttributeKey<T> childKey, T value) Set the specificAttributeKeywith the given value on every childChannel. -
Uses of AttributeKey in io.netty.channel
Methods in io.netty.channel with parameters of type AttributeKeyModifier and TypeMethodDescription<T> Attribute<T> ChannelHandlerContext.attr(AttributeKey<T> key) Deprecated.<T> booleanChannelHandlerContext.hasAttr(AttributeKey<T> key) Deprecated. -
Uses of AttributeKey in io.netty.handler.codec.http2
Methods in io.netty.handler.codec.http2 with parameters of type AttributeKeyModifier and TypeMethodDescriptionHttp2StreamChannelBootstrap.attr(AttributeKey<T> key, T value) Allow to specify an initial attribute of the newly createdHttp2StreamChannel. -
Uses of AttributeKey in io.netty.handler.codec.quic
Methods in io.netty.handler.codec.quic with parameters of type AttributeKeyModifier and TypeMethodDescriptionQuicChannelBootstrap.attr(AttributeKey<T> key, T value) Allow to specify an initial attribute of the newly createdQuicChannel.QuicServerCodecBuilder.attr(AttributeKey<T> key, T value) Allow to specify an initial attribute of the newly createdQuicChannel.QuicStreamChannelBootstrap.attr(AttributeKey<T> key, T value) Allow to specify an initial attribute of the newly createdQuicStreamChannel.QuicChannelBootstrap.streamAttr(AttributeKey<T> key, T value) Allow to specify an initial attribute of the newly createdQuicStreamChannel.QuicServerCodecBuilder.streamAttr(AttributeKey<T> key, T value) Allow to specify an initial attribute of the newly createdQuicStreamChannel. -
Uses of AttributeKey in io.netty.handler.ssl.ocsp
Fields in io.netty.handler.ssl.ocsp declared as AttributeKeyModifier and TypeFieldDescriptionstatic final AttributeKey<Boolean> OcspServerCertificateValidator.OCSP_PIPELINE_ATTRIBUTEAn attribute used to mark all channels created by theOcspServerCertificateValidator. -
Uses of AttributeKey in io.netty.resolver.dns
Fields in io.netty.resolver.dns declared as AttributeKeyModifier and TypeFieldDescriptionstatic final AttributeKey<Boolean> DnsNameResolver.DNS_PIPELINE_ATTRIBUTEAn attribute used to mark all channels created by theDnsNameResolver. -
Uses of AttributeKey in io.netty.util
Subclasses with type arguments of type AttributeKey in io.netty.utilModifier and TypeClassDescriptionfinal classAttributeKey<T>Key which can be used to accessAttributeout of theAttributeMap.Methods in io.netty.util that return AttributeKeyModifier and TypeMethodDescriptionAttribute.key()Returns the key of this attribute.static <T> AttributeKey<T> AttributeKey.newInstance(String name) Creates a newAttributeKeyfor the givennameor fail with anIllegalArgumentExceptionif aAttributeKeyfor the givennameexists.static <T> AttributeKey<T> static <T> AttributeKey<T> Returns the singleton instance of theAttributeKeywhich has the specifiedname.Methods in io.netty.util with parameters of type AttributeKeyModifier and TypeMethodDescription<T> Attribute<T> AttributeMap.attr(AttributeKey<T> key) Get theAttributefor the givenAttributeKey.<T> Attribute<T> DefaultAttributeMap.attr(AttributeKey<T> key) <T> booleanAttributeMap.hasAttr(AttributeKey<T> key) <T> booleanDefaultAttributeMap.hasAttr(AttributeKey<T> key)
AttributeMap.attr(AttributeKey)