Trait

org.http4s.dsl.impl

EntityResponseGenerator

Related Doc: package impl

Permalink

trait EntityResponseGenerator extends EmptyResponseGenerator

Helper for the generation of a org.http4s.Response which may contain a body

While it is possible to construct the org.http4s.Response manually, the EntityResponseGenerators offer shortcut syntax to make intention clear and concise.

Source
ResponseGenerator.scala
Example:
  1. val resp: Task[Response] = Ok("Hello world!")
Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. EntityResponseGenerator
  2. EmptyResponseGenerator
  3. ResponseGenerator
  4. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def getClass(): Class[_]

    Permalink
    Definition Classes
    Any
  2. abstract def status: Status

    Permalink
    Definition Classes
    ResponseGenerator

Concrete Value Members

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

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

    Permalink
    Definition Classes
    Any
  3. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from EntityResponseGenerator to any2stringadd[EntityResponseGenerator] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (EntityResponseGenerator, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from EntityResponseGenerator to ArrowAssoc[EntityResponseGenerator] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  6. def apply[A](body: A, headers: Headers)(implicit w: EntityEncoder[A]): Task[Response]

    Permalink
  7. def apply[A](body: A)(implicit w: EntityEncoder[A]): Task[Response]

    Permalink
  8. def apply(): Task[Response]

    Permalink
    Definition Classes
    EmptyResponseGenerator
  9. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  10. def ensuring(cond: (EntityResponseGenerator) ⇒ Boolean, msg: ⇒ Any): EntityResponseGenerator

    Permalink
    Implicit information
    This member is added by an implicit conversion from EntityResponseGenerator to Ensuring[EntityResponseGenerator] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def ensuring(cond: (EntityResponseGenerator) ⇒ Boolean): EntityResponseGenerator

    Permalink
    Implicit information
    This member is added by an implicit conversion from EntityResponseGenerator to Ensuring[EntityResponseGenerator] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: Boolean, msg: ⇒ Any): EntityResponseGenerator

    Permalink
    Implicit information
    This member is added by an implicit conversion from EntityResponseGenerator to Ensuring[EntityResponseGenerator] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: Boolean): EntityResponseGenerator

    Permalink
    Implicit information
    This member is added by an implicit conversion from EntityResponseGenerator to Ensuring[EntityResponseGenerator] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  15. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from EntityResponseGenerator to StringFormat[EntityResponseGenerator] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  16. def hashCode(): Int

    Permalink
    Definition Classes
    Any
  17. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  18. def toString(): String

    Permalink
    Definition Classes
    Any
  19. def [B](y: B): (EntityResponseGenerator, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from EntityResponseGenerator to ArrowAssoc[EntityResponseGenerator] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from EmptyResponseGenerator

Inherited from ResponseGenerator

Inherited from Any

Inherited by implicit conversion any2stringadd from EntityResponseGenerator to any2stringadd[EntityResponseGenerator]

Inherited by implicit conversion StringFormat from EntityResponseGenerator to StringFormat[EntityResponseGenerator]

Inherited by implicit conversion Ensuring from EntityResponseGenerator to Ensuring[EntityResponseGenerator]

Inherited by implicit conversion ArrowAssoc from EntityResponseGenerator to ArrowAssoc[EntityResponseGenerator]

Ungrouped