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
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- 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
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
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 Akka HTTP 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 Akka HTTP 10.2.0) Pass the companion object to headerValueByType as a parameter instead, e.g.
headerValueByType(Origin)
instead ofheaderValueByType[Origin](())