org.apache.pekko.http.scaladsl.server.directives.HeaderMagnet
See theHeaderMagnet companion trait
object HeaderMagnet extends LowPriorityHeaderMagnetImplicits
Attributes
- Companion
- trait
- Source
- HeaderDirectives.scala
- Graph
-
- Supertypes
- Self type
-
HeaderMagnet.type
Members list
Implicits
Implicits
implicit def fromClassForModeledCustomHeader[T <: ModeledCustomHeader[LazyRef(...)], H <: ModeledCustomHeaderCompanion[T]](clazz: Class[T], companion: ModeledCustomHeaderCompanion[T]): HeaderMagnet[T]
Attributes
- Source
- HeaderDirectives.scala
implicit def fromClassTagForModeledCustomHeader[T <: ModeledCustomHeader[LazyRef(...)], H <: ModeledCustomHeaderCompanion[T]](tag: ClassTag[T], companion: ModeledCustomHeaderCompanion[T]): HeaderMagnet[T]
Attributes
- Source
- HeaderDirectives.scala
implicit def fromCompanionForModeledCustomHeader[T <: ModeledCustomHeader[LazyRef(...)], H <: ModeledCustomHeaderCompanion[T]](companion: ModeledCustomHeaderCompanion[T])(implicit tag: ClassTag[T]): HeaderMagnet[T]
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
Attributes
- Inherited from:
- LowPriorityHeaderMagnetImplicits
- Source
- HeaderDirectives.scala
Attributes
- Inherited from:
- LowPriorityHeaderMagnetImplicits
- Source
- HeaderDirectives.scala
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
In this article