public interface AttributeHolder
| Modifier and Type | Method and Description |
|---|---|
default java.util.Optional<java.lang.Object> |
getAttribute(java.lang.CharSequence name)
Obtain the value of an attribute on the HTTP method.
|
default <T> java.util.Optional<T> |
getAttribute(java.lang.CharSequence name,
java.lang.Class<T> type)
Obtain the value of an attribute on the HTTP method.
|
ConvertibleValues<java.lang.Object> |
getAttributes()
A
MutableConvertibleValues of the attributes for object. |
@NonNull ConvertibleValues<java.lang.Object> getAttributes()
A MutableConvertibleValues of the attributes for object.
@NonNull default java.util.Optional<java.lang.Object> getAttribute(java.lang.CharSequence name)
name - The name of the attributeOptional value@NonNull
default <T> java.util.Optional<T> getAttribute(java.lang.CharSequence name,
java.lang.Class<T> type)
T - type Genericname - The name of the attributetype - The required typeOptional value