final case class TypedHeader[F[_], T <: HList](rule: RequestRule[F]) extends Product with Serializable
Typed shell for the Header operations of the DSL
- Alphabetic
- By Inheritance
- TypedHeader
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new TypedHeader(rule: RequestRule[F])
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- def &&[T1 <: HList](next: TypedHeader[F, T1])(implicit prepend: Prepend[T1, T]): TypedHeader[F, Out]
Match this rule and then
next
ruleMatch this rule and then
next
ruleAlias of
and
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def and[T1 <: HList](next: TypedHeader[F, T1])(implicit prepend: Prepend[T1, T]): TypedHeader[F, Out]
Match this rule and then
next
ruleMatch this rule and then
next
ruleAlias of
&&
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def ignore: TypedHeader[F, HNil]
Ignore the output generated by this rule
Ignore the output generated by this rule
The new rule will perform all the same actions and actually compute the results but they will be ignored during the route evaluation
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def map[TR <: HList, FU, R](f: FU)(implicit rev: Aux[T, TR], fp: shapeless.ops.function.FnToProduct.Aux[FU, (TR) => R]): TypedHeader[F, ::[R, HNil]]
Map the output generated by this rule into a new type
Map the output generated by this rule into a new type
The new rule will have all the original metadata.
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def or(alt: TypedHeader[F, T]): TypedHeader[F, T]
Match this rule or
alt
rule if this rule failsMatch this rule or
alt
rule if this rule failsAlias of
||
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val rule: RequestRule[F]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- 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()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def withMetadata(metadata: Metadata): TypedHeader[F, T]
Enclose this rule in metadata
Enclose this rule in metadata
Type safe way to add metadata to a TypedHeader rule
- def ||(alt: TypedHeader[F, T]): TypedHeader[F, T]
Match this rule or
alt
rule if this rule failsMatch this rule or
alt
rule if this rule failsAlias of
or
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated @deprecated
- Deprecated
(Since version ) see corresponding Javadoc for more information.