trait
EmptyResponseGenerator[F[_]] 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(headers: Header*)(implicit F: Applicative[F]): F[Response[F]]
-
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 will not contain a body
While it is possible to for the org.http4s.Response manually, the EntityResponseGenerators offer shortcut syntax to make intention clear and concise.
val resp: F[Response] = Status.Continue()