trait AllowResponseGenerator[F[_], G[_]] extends ResponseGenerator
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 other ResponseGenerator
s.
- Source
- ResponseGenerator.scala
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- AllowResponseGenerator
- ResponseGenerator
- Any
- Hide All
- Show All
Visibility
- Public
- All
Abstract Value Members
-
abstract
def
status: Status
- Definition Classes
- ResponseGenerator
Concrete Value Members
- def apply[A](allow: Allow, body: A, headers: Header*)(implicit F: Applicative[F], w: EntityEncoder[G, A]): F[Response[G]]
- def apply(allow: Allow, headers: Header*)(implicit F: Applicative[F]): F[Response[G]]