Uses of Class
io.netty.util.AttributeKey
-
Packages that use AttributeKey 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 forChannelpools.io.netty.handler.codec.http.websocketx Encoder, decoder, handshakers and their related message types for Web Socket data frames.io.netty.handler.codec.http2 Handlers for sending and receiving HTTP/2 frames.io.netty.handler.traffic Implementation of a Traffic Shaping Handler and Dynamic Statistics.io.netty.util Utility classes used across multiple packages. -
-
Uses of AttributeKey in io.netty.bootstrap
Fields in io.netty.bootstrap with type parameters of type AttributeKey Modifier and Type Field Description private java.util.Map<AttributeKey<?>,java.lang.Object>AbstractBootstrap. attrsprivate java.util.Map<AttributeKey<?>,java.lang.Object>ServerBootstrap. childAttrsMethods in io.netty.bootstrap that return types with arguments of type AttributeKey Modifier and Type Method Description (package private) java.util.Map<AttributeKey<?>,java.lang.Object>AbstractBootstrap. attrs()java.util.Map<AttributeKey<?>,java.lang.Object>AbstractBootstrapConfig. attrs()Returns a copy of the configured attributes.(package private) java.util.Map<AttributeKey<?>,java.lang.Object>AbstractBootstrap. attrs0()(package private) java.util.Map<AttributeKey<?>,java.lang.Object>ServerBootstrap. childAttrs()java.util.Map<AttributeKey<?>,java.lang.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 AttributeKey Modifier and Type Method Description <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 AttributeKey Modifier and Type Method Description <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 AttributeKey Modifier and Type Field Description private static 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 AttributeKey Modifier and Type Field Description private static AttributeKey<WebSocketServerHandshaker>WebSocketServerProtocolHandler. HANDSHAKER_ATTR_KEY -
Uses of AttributeKey in io.netty.handler.codec.http2
Fields in io.netty.handler.codec.http2 declared as AttributeKey Modifier and Type Field Description private static AttributeKey<HttpScheme>Http2StreamFrameToHttpObjectCodec. SCHEME_ATTR_KEYFields in io.netty.handler.codec.http2 with type parameters of type AttributeKey Modifier and Type Field Description private java.util.Map<AttributeKey<?>,java.lang.Object>Http2StreamChannelBootstrap. attrsMethods in io.netty.handler.codec.http2 with parameters of type AttributeKey Modifier and Type Method Description <T> Http2StreamChannelBootstrapHttp2StreamChannelBootstrap. attr(AttributeKey<T> key, T value)Allow to specify an initial attribute of the newly createdHttp2StreamChannel. -
Uses of AttributeKey in io.netty.handler.traffic
Fields in io.netty.handler.traffic declared as AttributeKey Modifier and Type Field Description (package private) static AttributeKey<java.lang.Boolean>AbstractTrafficShapingHandler. READ_SUSPENDED(package private) static AttributeKey<java.lang.Runnable>AbstractTrafficShapingHandler. REOPEN_TASK -
Uses of AttributeKey in io.netty.util
Fields in io.netty.util declared as AttributeKey Modifier and Type Field Description private AttributeKey<T>DefaultAttributeMap.DefaultAttribute. keyFields in io.netty.util with type parameters of type AttributeKey Modifier and Type Field Description private static ConstantPool<AttributeKey<java.lang.Object>>AttributeKey. poolMethods in io.netty.util that return AttributeKey Modifier and Type Method Description AttributeKey<T>Attribute. key()Returns the key of this attribute.AttributeKey<T>DefaultAttributeMap.DefaultAttribute. key()static <T> AttributeKey<T>AttributeKey. newInstance(java.lang.String name)Creates a newAttributeKeyfor the givennameor fail with anIllegalArgumentExceptionif aAttributeKeyfor the givennameexists.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 theAttributeKeywhich has the specifiedname.Methods in io.netty.util with parameters of type AttributeKey Modifier and Type Method Description <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 static intDefaultAttributeMap. index(AttributeKey<?> key)Constructors in io.netty.util with parameters of type AttributeKey Constructor Description DefaultAttribute(DefaultAttributeMap.DefaultAttribute<?> head, AttributeKey<T> key)
-