Top Fields Constructors Methods
io.undertow.util

pack-priv Class ListAttachmentKey<T>

Located in compilation unit of io.undertow.util.AttachmentKey.

extends AttachmentKey<AttachmentList<T>>
Class Inheritance

Field Summary

Modifier and TypeField and Description
private final Class<T>

Constructor Summary

AccessConstructor and Description
pack-priv
ListAttachmentKey(final Class<T> valueClass)

Method Summary

Modifier and TypeMethod and Description
public AttachmentList<T>
cast(final Object
the value
value
)

Implements abstract io.undertow.util.AttachmentKey.cast.

Cast the value to the type of this attachment key.

pack-priv Class<T>
Inherited from io.undertow.util.AttachmentKey:
createcreateList

Field Detail

valueClassback to summary
private final Class<T> valueClass

Constructor Detail

ListAttachmentKeyback to summary
pack-priv ListAttachmentKey(final Class<T> valueClass)

Method Detail

castback to summary
public AttachmentList<T> cast(final Object value)

Implements abstract io.undertow.util.AttachmentKey.cast.

Doc from io.undertow.util.AttachmentKey.cast.

Cast the value to the type of this attachment key.

Parameters
value:Object

the value

Returns:AttachmentList<T>

the cast value

Annotations
@SuppressWarnings:unchecked
getValueClassback to summary
pack-priv Class<T> getValueClass()