T - the type of the Attribute which can be accessed via this AttributeKey.public final class AttributeKey<T> extends UniqueName
Attribute out of the AttributeMap. Be aware that it is not be
possible to have multiple keys with the same name.| Constructor and Description |
|---|
AttributeKey(String name)
Deprecated.
Use
valueOf(String) instead. |
| Modifier and Type | Method and Description |
|---|---|
static <T> AttributeKey<T> |
valueOf(String name)
Creates a new
AttributeKey with the specified name. |
compareTo, equals, hashCode, id, name, toString, validateArgs@Deprecated public AttributeKey(String name)
valueOf(String) instead.public static <T> AttributeKey<T> valueOf(String name)
AttributeKey with the specified name.Copyright © 2008–2014 The Netty Project. All rights reserved.