org.apache.mina.core.session
Class AttributeKey
java.lang.Object
org.apache.mina.core.session.AttributeKey
- All Implemented Interfaces:
- Serializable
public final class AttributeKey
- extends Object
- implements Serializable
A key that makes its parent Map
or session attribute to search
fast while being debug-friendly by providing the string representation.
- Version:
- $Rev: 671827 $, $Date: 2008-06-26 10:49:48 +0200 (jeu, 26 jun 2008) $
- Author:
- The Apache MINA Project (dev@mina.apache.org)
- See Also:
- Serialized Form
Method Summary |
String |
toString()
The String representation of tis objection is its constructed name. |
AttributeKey
public AttributeKey(Class<?> source,
String name)
- Creates a new instance. It's built from :
- the class' name
- the attribute's name
- this attribute hashCode
toString
public String toString()
- The String representation of tis objection is its constructed name.
- Overrides:
toString
in class Object
Copyright © 2004-2008 Apache MINA Project. All Rights Reserved.