Interface AttributeDirectives

All Known Subinterfaces:
Directives
All Known Implementing Classes:
AttributeDirectives$, Directives$, HttpApp

public interface AttributeDirectives
  • Method Summary

    Modifier and Type
    Method
    Description
    <T> Directive<scala.Tuple1<T>>
    Extracts a request attribute value for the given key.
    <T> Directive<scala.Tuple1<scala.Option<T>>>
    Extracts an optional request attribute for the given key.
  • Method Details

    • 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)