c

org.http4s.rho.bits

TypedHeader

final case class TypedHeader[F[_], T <: HList](rule: RequestRule[F]) extends Product with Serializable

Typed shell for the Header operations of the DSL

Linear Supertypes
Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TypedHeader
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new TypedHeader(rule: RequestRule[F])

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def &&[T1 <: HList](next: TypedHeader[F, T1])(implicit prepend: Prepend[T1, T]): TypedHeader[F, Out]

    Match this rule and then next rule

    Match this rule and then next rule

    Alias of and

  4. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  5. def and[T1 <: HList](next: TypedHeader[F, T1])(implicit prepend: Prepend[T1, T]): TypedHeader[F, Out]

    Match this rule and then next rule

    Match this rule and then next rule

    Alias of &&

  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  10. 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

  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. 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.

  13. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. def or(alt: TypedHeader[F, T]): TypedHeader[F, T]

    Match this rule or alt rule if this rule fails

    Match this rule or alt rule if this rule fails

    Alias of ||

  17. def productElementNames: Iterator[String]
    Definition Classes
    Product
  18. val rule: RequestRule[F]
  19. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  20. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  21. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  22. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  23. 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

  24. def ||(alt: TypedHeader[F, T]): TypedHeader[F, T]

    Match this rule or alt rule if this rule fails

    Match this rule or alt rule if this rule fails

    Alias of or

Deprecated Value Members

  1. 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.

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped