public interface AttributeDirectives
Modifier and Type | Method and Description |
---|---|
<T> Directive<scala.Tuple1<T>> |
attribute(AttributeKey<T> key)
Extracts a request attribute value for the given key.
|
<T> Directive<scala.Tuple1<scala.Option<T>>> |
optionalAttribute(AttributeKey<T> key)
Extracts an optional request attribute for the given key.
|
<T> Directive<scala.Tuple1<T>> attribute(AttributeKey<T> key)
key
- (undocumented)<T> Directive<scala.Tuple1<scala.Option<T>>> optionalAttribute(AttributeKey<T> key)
key
- (undocumented)