## Uses of Class
org.apache.mina.session.AttributeKey

Packages that use AttributeKey
Package | Description
--- | ---
org.apache.mina.api | Base API for the MINA library.
org.apache.mina.session |
org.apache.mina.transport.nio | Transport implementations base on NIO (New I/O), `Channel`

### Uses of AttributeKey in org.apache.mina.api

Fields in org.apache.mina.api declared as AttributeKey
Modifier and Type | Field and Description
--- | ---
`static AttributeKey<SslHelper>` | IoSession.`SSL_HELPER` The SslHelper instance name, stored in the session's attributes

Methods in org.apache.mina.api that return types with arguments of type AttributeKey
Modifier and Type | Method and Description
--- | ---
`Set<AttributeKey<?>>` | IoSession.`getAttributeKeys()` Returns an unmodifiable `Set` of all Keys of this `IoSession`.

Methods in org.apache.mina.api with parameters of type AttributeKey
Modifier and Type | Method and Description
--- | ---
`<T> T` | IoSession.`getAttribute(AttributeKey<T> key)` Returns the value of the user-defined attribute for the given `key`.If the there is no attribute with the specified key `null` will be returned.
`<T> T` | IoSession.`getAttribute(AttributeKey<T> key, T defaultValue)` Returns the value of the user-defined attribute for the given `key`.If the there is no attribute with the specified key the `defaultValue` will be returned.
`<T> T` | IoSession.`removeAttribute(AttributeKey<T> key)` Removes the specified Attribute from this container.
`<T> T` | IoSession.`setAttribute(AttributeKey<? extends T> key, T value)` Sets a user-defined attribute.

### Uses of AttributeKey in org.apache.mina.session

Methods in org.apache.mina.session that return AttributeKey
Modifier and Type | Method and Description
--- | ---
`static <T> AttributeKey<T>` | AttributeKey.`createKey(Class<T> attributeType, String attributeName)` Creates a new `AttributeKey` with the given parameters.

Methods in org.apache.mina.session that return types with arguments of type AttributeKey
Modifier and Type | Method and Description
--- | ---
`Set<AttributeKey<?>>` | AbstractIoSession.`getAttributeKeys()` Returns an unmodifiable `Set` of all Keys of this `IoSession`.

Methods in org.apache.mina.session with parameters of type AttributeKey
Modifier and Type | Method and Description
--- | ---
`<T> T` | AbstractIoSession.`getAttribute(AttributeKey<T> key)` Returns the value of the user-defined attribute for the given `key`.If the there is no attribute with the specified key `null` will be returned.
`<T> T` | AbstractIoSession.`getAttribute(AttributeKey<T> key, T defaultValue)` Returns the value of the user-defined attribute for the given `key`.If the there is no attribute with the specified key the `defaultValue` will be returned.
`<T> T` | AbstractIoSession.`removeAttribute(AttributeKey<T> key)` Removes the specified Attribute from this container.
`<T> T` | AbstractIoSession.`setAttribute(AttributeKey<? extends T> key, T value)` Sets a user-defined attribute.

### Uses of AttributeKey in org.apache.mina.transport.nio

Fields in org.apache.mina.transport.nio declared as AttributeKey
Modifier and Type | Field and Description
--- | ---
`static AttributeKey<Boolean>` | SslHelper.`NEED_CLIENT_AUTH`
`static AttributeKey<InetSocketAddress>` | SslHelper.`PEER_ADDRESS` A session attribute key that should be set to an `InetSocketAddress`.
`static AttributeKey<Boolean>` | SslHelper.`WANT_CLIENT_AUTH`