object HeaderMagnet extends LowPriorityHeaderMagnetImplicits
- Source
- HeaderDirectives.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- HeaderMagnet
- LowPriorityHeaderMagnetImplicits
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- implicit def fromClassForModeledCustomHeader[T <: ModeledCustomHeader[T], H <: ModeledCustomHeaderCompanion[T]](clazz: Class[T], companion: ModeledCustomHeaderCompanion[T]): HeaderMagnet[T]
- implicit def fromClassNormalHeader[T <: HttpHeader](clazz: Class[T]): HeaderMagnet[T]
- Definition Classes
- LowPriorityHeaderMagnetImplicits
- implicit def fromClassNormalJavaHeader[T <: HttpHeader](clazz: Class[T]): HeaderMagnet[T]
- Definition Classes
- LowPriorityHeaderMagnetImplicits
- implicit def fromClassTagForModeledCustomHeader[T <: ModeledCustomHeader[T], H <: ModeledCustomHeaderCompanion[T]](tag: ClassTag[T], companion: ModeledCustomHeaderCompanion[T]): HeaderMagnet[T]
- implicit def fromClassTagNormalHeader[T <: HttpHeader](tag: ClassTag[T]): HeaderMagnet[T]
- Definition Classes
- LowPriorityHeaderMagnetImplicits
- implicit def fromCompanionForModeledCustomHeader[T <: ModeledCustomHeader[T], 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). - implicit def fromCompanionNormalHeader[T <: HttpHeader](companion: ModeledCompanion[T])(implicit tag: ClassTag[T]): HeaderMagnet[T]
- Definition Classes
- LowPriorityHeaderMagnetImplicits
Deprecated Value Members
- implicit def fromUnitForModeledCustomHeader[T <: ModeledCustomHeader[T], H <: ModeledCustomHeaderCompanion[T]](u: Unit)(implicit tag: ClassTag[T], companion: ModeledCustomHeaderCompanion[T]): HeaderMagnet[T]
- Annotations
- @deprecated
- Deprecated
(Since version 10.2.0) Pass the companion object to headerValueByType as a parameter instead, e.g.
headerValueByType(Origin)
instead ofheaderValueByType[Origin](())
- implicit def fromUnitNormalHeader[T <: HttpHeader](u: Unit)(implicit tag: ClassTag[T]): HeaderMagnet[T]
- Definition Classes
- LowPriorityHeaderMagnetImplicits
- Annotations
- @deprecated
- Deprecated
(Since version 10.2.0) Pass the companion object to headerValueByType as a parameter instead, e.g.
headerValueByType(Origin)
instead ofheaderValueByType[Origin](())