trait
AllowResponseGenerator[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](allow: Allow, body: A, headers: Header*)(implicit F: Monad[F], w: EntityEncoder[G, A]): F[Response[G]]
-
def
apply(allow: Allow, 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 must contain an Allow header and may contain a body.
A 405 status MUST contain an
Allow
header, which distinguishes this from otherResponseGenerator
s.