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 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.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)
-