AttributeDirectives

org.apache.pekko.http.scaladsl.server.directives.AttributeDirectives
See theAttributeDirectives companion trait

Attributes

Companion
trait
Source
AttributeDirectives.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Grouped members

attribute

def attribute[T](key: AttributeKey[T]): Directive1[T]

Extracts a request attribute value for the given key.

Extracts a request attribute value for the given key.

Attributes

Inherited from:
AttributeDirectives
Source
AttributeDirectives.scala

Extracts an optional request attribute for the given key.

Extracts an optional request attribute for the given key.

Attributes

Inherited from:
AttributeDirectives
Source
AttributeDirectives.scala