java.lang.Object
stincmale.server.netty4.MetadataKey<T>
- Type Parameters:
T
- A type of data that can be stored/retrieved by using theMetadataKey
.
@Immutable public final class MetadataKey<T> extends Object
A key that is used to store and retrieve data in the
RequestWithMetadata
.-
Method Details
-
of
- Type Parameters:
T
- A type of data that can be stored/retrieved by using theMetadataKey
.- Parameters:
id
- Identifier of theMetadataKey
.
-
equals
-
hashCode
public final int hashCode() -
toString
-