Uses of Class
io.netty.util.AttributeKey
-
Packages that use AttributeKey Package Description io.netty.util Utility classes used across multiple packages. -
-
Uses of AttributeKey in io.netty.util
Methods in io.netty.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.netty.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)
-