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> B
AbstractBootstrap. attr(AttributeKey<T> key, T value)
Allow to specify an initial attribute of the newly createdChannel
.<T> ServerBootstrap
ServerBootstrap. childAttr(AttributeKey<T> childKey, T value)
Set the specificAttributeKey
with 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> Http2StreamChannelBootstrap
Http2StreamChannelBootstrap. 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 newAttributeKey
for the givenname
or fail with anIllegalArgumentException
if aAttributeKey
for the givenname
exists.static <T> AttributeKey<T>
AttributeKey. valueOf(Class<?> firstNameComponent, String secondNameComponent)
static <T> AttributeKey<T>
AttributeKey. valueOf(String name)
Returns the singleton instance of theAttributeKey
which 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 theAttribute
for the givenAttributeKey
.<T> Attribute<T>
DefaultAttributeMap. attr(AttributeKey<T> key)
<T> boolean
AttributeMap. hasAttr(AttributeKey<T> key)
<T> boolean
DefaultAttributeMap. hasAttr(AttributeKey<T> key)
-