T - the type of the Attribute which can be accessed via this AttributeKey.public final class AttributeKey<T> extends AbstractConstant<AttributeKey<T>>
Attribute out of the AttributeMap. Be aware that it is not be
possible to have multiple keys with the same name.| Modifier and Type | Method and Description |
|---|---|
static <T> AttributeKey<T> |
valueOf(Class<?> firstNameComponent,
String secondNameComponent)
|
static <T> AttributeKey<T> |
valueOf(String name)
Returns the singleton instance of the
AttributeKey which has the specified name. |
public static <T> AttributeKey<T> valueOf(String name)
AttributeKey which has the specified name.public static <T> AttributeKey<T> valueOf(Class<?> firstNameComponent, String secondNameComponent)
Copyright © 2008–2013 The Netty Project. All rights reserved.