HeaderMagnet

org.apache.pekko.http.scaladsl.server.directives.HeaderMagnet
See theHeaderMagnet companion trait

Attributes

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

Members list

Implicits

Implicits

Attributes

Source
HeaderDirectives.scala

If possible we want to apply the special logic for ModeledCustomHeader to extract custom headers by type, otherwise the default fromCompanion is good enough (for headers that the parser emits in the right type already).

If possible we want to apply the special logic for ModeledCustomHeader to extract custom headers by type, otherwise the default fromCompanion is good enough (for headers that the parser emits in the right type already).

Attributes

Source
HeaderDirectives.scala

Deprecated implicits

implicit def fromUnitForModeledCustomHeader[T <: ModeledCustomHeader[LazyRef(...)], H <: ModeledCustomHeaderCompanion[T]](u: Unit)(implicit tag: ClassTag[T], companion: ModeledCustomHeaderCompanion[T]): HeaderMagnet[T]

Attributes

Deprecated
[Since version Akka HTTP 10.2.0]
Source
HeaderDirectives.scala

Inherited implicits

implicit def fromClassNormalHeader[T <: HttpHeader](clazz: Class[T]): HeaderMagnet[T]

Attributes

Inherited from:
LowPriorityHeaderMagnetImplicits
Source
HeaderDirectives.scala
implicit def fromClassNormalJavaHeader[T <: HttpHeader](clazz: Class[T]): HeaderMagnet[T]

Attributes

Inherited from:
LowPriorityHeaderMagnetImplicits
Source
HeaderDirectives.scala
implicit def fromClassTagNormalHeader[T <: HttpHeader](tag: ClassTag[T]): HeaderMagnet[T]

Attributes

Inherited from:
LowPriorityHeaderMagnetImplicits
Source
HeaderDirectives.scala
implicit def fromCompanionNormalHeader[T <: HttpHeader](companion: ModeledCompanion[T])(implicit tag: ClassTag[T]): HeaderMagnet[T]

Attributes

Inherited from:
LowPriorityHeaderMagnetImplicits
Source
HeaderDirectives.scala

Deprecated and Inherited implicits

implicit def fromUnitNormalHeader[T <: HttpHeader](u: Unit)(implicit tag: ClassTag[T]): HeaderMagnet[T]

Attributes

Deprecated
[Since version Akka HTTP 10.2.0]
Inherited from:
LowPriorityHeaderMagnetImplicits
Source
HeaderDirectives.scala