Interface AttributeDirectives
-
- All Known Subinterfaces:
Directives
- All Known Implementing Classes:
AttributeDirectives$,Directives$,HttpApp
public interface AttributeDirectives
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
attribute
<T> Directive<scala.Tuple1<T>> attribute(AttributeKey<T> key)
Extracts a request attribute value for the given key.- Parameters:
key- (undocumented)- Returns:
- (undocumented)
-
optionalAttribute
<T> Directive<scala.Tuple1<scala.Option<T>>> optionalAttribute(AttributeKey<T> key)
Extracts an optional request attribute for the given key.- Parameters:
key- (undocumented)- Returns:
- (undocumented)
-
-