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.
Implementations and API for
Channel pools.Encoder, decoder, handshakers and their related message types for
Web Socket data frames.
Handlers for sending and receiving HTTP/2 frames.
Encoder, decoder and different Message Types for MQTT.
Certificate validation using OCSP
Implementation of a Traffic Shaping Handler and Dynamic Statistics.
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
Fields in io.netty.bootstrap with type parameters of type AttributeKeyModifier and TypeFieldDescriptionprivate final Map<AttributeKey<?>, Object> AbstractBootstrap.attrsprivate final Map<AttributeKey<?>, Object> ServerBootstrap.childAttrsMethods in io.netty.bootstrap that return types with arguments of type AttributeKeyModifier and TypeMethodDescription(package private) final Map<AttributeKey<?>, Object> AbstractBootstrap.attrs()final Map<AttributeKey<?>, Object> AbstractBootstrapConfig.attrs()Returns a copy of the configured attributes.(package private) final Map<AttributeKey<?>, Object> AbstractBootstrap.attrs0()(package private) final Map<AttributeKey<?>, Object> ServerBootstrap.childAttrs()Map<AttributeKey<?>, Object> ServerBootstrapConfig.childAttrs()Returns a copy of the configured attributes which will be used for the child channels.(package private) final Map.Entry<AttributeKey<?>, Object>[]AbstractBootstrap.newAttributesArray()(package private) static Map.Entry<AttributeKey<?>, Object>[]AbstractBootstrap.newAttributesArray(Map<AttributeKey<?>, Object> attributes) 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.Method parameters in io.netty.bootstrap with type arguments of type AttributeKeyModifier and TypeMethodDescription(package private) static Map.Entry<AttributeKey<?>, Object>[]AbstractBootstrap.newAttributesArray(Map<AttributeKey<?>, Object> attributes) -
Uses of AttributeKey in io.netty.channel
Methods in io.netty.channel with parameters of type AttributeKeyModifier and TypeMethodDescription<T> Attribute<T> AbstractChannelHandlerContext.attr(AttributeKey<T> key) <T> Attribute<T> ChannelHandlerContext.attr(AttributeKey<T> key) Deprecated.<T> Attribute<T> CombinedChannelDuplexHandler.DelegatingChannelHandlerContext.attr(AttributeKey<T> key) <T> booleanAbstractChannelHandlerContext.hasAttr(AttributeKey<T> key) <T> booleanChannelHandlerContext.hasAttr(AttributeKey<T> key) Deprecated.<T> booleanCombinedChannelDuplexHandler.DelegatingChannelHandlerContext.hasAttr(AttributeKey<T> key) -
Uses of AttributeKey in io.netty.channel.pool
Fields in io.netty.channel.pool declared as AttributeKeyModifier and TypeFieldDescriptionprivate static final AttributeKey<SimpleChannelPool> SimpleChannelPool.POOL_KEY -
Uses of AttributeKey in io.netty.handler.codec.http.websocketx
Fields in io.netty.handler.codec.http.websocketx declared as AttributeKeyModifier and TypeFieldDescriptionprivate static final AttributeKey<WebSocketServerHandshaker> WebSocketServerProtocolHandler.HANDSHAKER_ATTR_KEY -
Uses of AttributeKey in io.netty.handler.codec.http2
Fields in io.netty.handler.codec.http2 declared as AttributeKeyModifier and TypeFieldDescriptionprivate static final AttributeKey<HttpScheme> Http2StreamFrameToHttpObjectCodec.SCHEME_ATTR_KEYFields in io.netty.handler.codec.http2 with type parameters of type AttributeKeyModifier and TypeFieldDescriptionprivate final Map<AttributeKey<?>, Object> Http2StreamChannelBootstrap.attrsMethods 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.mqtt
Fields in io.netty.handler.codec.mqtt declared as AttributeKeyModifier and TypeFieldDescription(package private) static final AttributeKey<MqttVersion> MqttCodecUtil.MQTT_VERSION_KEY -
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.handler.traffic
Fields in io.netty.handler.traffic declared as AttributeKeyModifier and TypeFieldDescription(package private) static final AttributeKey<Boolean> AbstractTrafficShapingHandler.READ_SUSPENDED(package private) static final AttributeKey<Runnable> AbstractTrafficShapingHandler.REOPEN_TASK -
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.Fields in io.netty.util declared as AttributeKeyModifier and TypeFieldDescriptionprivate final AttributeKey<T> DefaultAttributeMap.DefaultAttribute.keyFields in io.netty.util with type parameters of type AttributeKeyModifier and TypeFieldDescriptionprivate static final ConstantPool<AttributeKey<Object>> AttributeKey.poolMethods in io.netty.util that return AttributeKeyModifier and TypeMethodDescriptionAttribute.key()Returns the key of this attribute.DefaultAttributeMap.DefaultAttribute.key()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) private <T> voidDefaultAttributeMap.removeAttributeIfMatch(AttributeKey<T> key, DefaultAttributeMap.DefaultAttribute<T> value) private static intDefaultAttributeMap.searchAttributeByKey(DefaultAttributeMap.DefaultAttribute[] sortedAttributes, AttributeKey<?> key) Similarly toArrays::binarySearchit perform a binary search optimized for this use case, in order to save polymorphic calls (on comparator side) and unnecessary class checks.Constructors in io.netty.util with parameters of type AttributeKeyModifierConstructorDescription(package private)DefaultAttribute(DefaultAttributeMap attributeMap, AttributeKey<T> key)
AttributeMap.attr(AttributeKey)