Uses of Class
io.netty5.util.AttributeKey
-
Packages that use AttributeKey Package Description io.netty5.bootstrap The helper classes with fluent API which enable an easy implementation of typical client side and server side channel initialization.io.netty5.handler.codec.http2 Handlers for sending and receiving HTTP/2 frames.io.netty5.util Utility classes used across multiple packages. -
-
Uses of AttributeKey in io.netty5.bootstrap
Methods in io.netty5.bootstrap that return types with arguments of type AttributeKey Modifier and Type Method 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.Methods in io.netty5.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.netty5.handler.codec.http2
Methods in io.netty5.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.netty5.util
Methods in io.netty5.util that return AttributeKey Modifier and Type Method Description AttributeKey<T>Attribute. 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>AttributeKey. valueOf(Class<?> firstNameComponent, String secondNameComponent)static <T> AttributeKey<T>AttributeKey. valueOf(String name)Returns the singleton instance of theAttributeKeywhich has the specifiedname.Methods in io.netty5.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)
-