public interface AttributeMap
Attribute
s which can be accessed via AttributeKey
.
Implementations must be Thread-safe.Modifier and Type | Method and Description |
---|---|
<T> Attribute<T> |
attr(AttributeKey<T> key)
Get the
Attribute for the given AttributeKey . |
<T> Attribute<T> attr(AttributeKey<T> key)
Attribute
for the given AttributeKey
. This method will never return null, but may return
an Attribute
which does not have a value set yet.Copyright © 2008–2018 The Netty Project. All rights reserved.