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.

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
  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. final def ==(arg0: Any): Boolean

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

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

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

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

    Permalink
    Definition Classes
    Any
  8. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  9. def hashCode(): Int

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

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

    Permalink
    Definition Classes
    Any

Inherited from EmptyResponseGenerator

Inherited from ResponseGenerator

Inherited from Any

Ungrouped