Class

org.http4s.rho.bits

TypedHeader

Related Doc: package bits

Permalink

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, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TypedHeader
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

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

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def &&[T1 <: HList](next: TypedHeader[F, T1])(implicit prepend: Prepend[T1, T]): TypedHeader[F, Out]

    Permalink

    Match this rule and then next rule

    Match this rule and then next rule

    Alias of and

  4. final def ==(arg0: Any): Boolean

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

    Permalink

    Match this rule and then next rule

    Match this rule and then next rule

    Alias of &&

  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  11. def ignore: TypedHeader[F, HNil]

    Permalink

    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

  12. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  13. 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]]

    Permalink

    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.

  14. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  15. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  16. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  17. def or(alt: TypedHeader[F, T]): TypedHeader[F, T]

    Permalink

    Match this rule or alt rule if this rule fails

    Match this rule or alt rule if this rule fails

    Alias of ||

  18. val rule: RequestRule[F]

    Permalink
  19. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  20. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  21. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. def withMetadata(metadata: Metadata): TypedHeader[F, T]

    Permalink

    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]

    Permalink

    Match this rule or alt rule if this rule fails

    Match this rule or alt rule if this rule fails

    Alias of or

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped