public interface LowPriorityHeaderMagnetImplicits
Modifier and Type | Method and Description |
---|---|
<T extends HttpHeader> |
fromClassNormalHeader(java.lang.Class<T> clazz) |
<T extends HttpHeader> |
fromClassNormalJavaHeader(java.lang.Class<T> clazz) |
<T extends HttpHeader> |
fromClassTagNormalHeader(scala.reflect.ClassTag<T> tag) |
<T extends HttpHeader> |
fromCompanionNormalHeader(ModeledCompanion<T> companion,
scala.reflect.ClassTag<T> tag) |
<T extends HttpHeader> |
fromUnitNormalHeader(scala.runtime.BoxedUnit u,
scala.reflect.ClassTag<T> tag)
Deprecated.
Pass the companion object to headerValueByType as a parameter instead, e.g. `headerValueByType(Origin)` instead of `headerValueByType[Origin](())`. Since Akka HTTP 10.2.0.
|
<T extends HttpHeader> HeaderMagnet<T> fromClassNormalHeader(java.lang.Class<T> clazz)
<T extends HttpHeader> HeaderMagnet<T> fromClassNormalJavaHeader(java.lang.Class<T> clazz)
<T extends HttpHeader> HeaderMagnet<T> fromClassTagNormalHeader(scala.reflect.ClassTag<T> tag)
<T extends HttpHeader> HeaderMagnet<T> fromCompanionNormalHeader(ModeledCompanion<T> companion, scala.reflect.ClassTag<T> tag)
<T extends HttpHeader> HeaderMagnet<T> fromUnitNormalHeader(scala.runtime.BoxedUnit u, scala.reflect.ClassTag<T> tag)