Interface AttributeDirectives
- All Known Subinterfaces:
Directives
- All Known Implementing Classes:
AttributeDirectives$
,Directives$
,HttpApp
public interface AttributeDirectives
-
Method Summary
Modifier and TypeMethodDescription<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.
-
Method Details
-
attribute
Extracts a request attribute value for the given key.- Parameters:
key
- (undocumented)- Returns:
- (undocumented)
-
optionalAttribute
Extracts an optional request attribute for the given key.- Parameters:
key
- (undocumented)- Returns:
- (undocumented)
-