trait
EntityResponseGenerator[F[_], G[_]] extends ResponseGenerator
Abstract Value Members
-
abstract
def
getClass(): Class[_]
-
abstract
def
status: Status
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: Any): Boolean
-
def
apply[A](body: A, headers: Header*)(implicit F: Monad[F], w: EntityEncoder[G, A]): F[Response[G]]
-
def
apply[A](body: G[A])(implicit F: Monad[F], w: EntityEncoder[G, A]): F[Response[G]]
-
def
apply(headers: Header*)(implicit F: Applicative[F]): F[Response[G]]
-
final
def
asInstanceOf[T0]: T0
-
def
equals(arg0: Any): Boolean
-
def
hashCode(): Int
-
final
def
isInstanceOf[T0]: Boolean
-
def
toString(): String
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.