t

org.http4s.dsl.impl

AllowResponseGenerator

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 ResponseGenerators.

Source
ResponseGenerator.scala
Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AllowResponseGenerator
  2. ResponseGenerator
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def getClass(): Class[_]
    Definition Classes
    Any
  2. abstract def status: Status
    Definition Classes
    ResponseGenerator

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##(): Int
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  4. def apply[A](allow: Allow, body: A, headers: ToRaw*)(implicit F: Applicative[F], w: EntityEncoder[G, A]): F[Response[G]]
  5. def apply(allow: Allow, headers: ToRaw*)(implicit F: Applicative[F]): F[Response[G]]
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def equals(arg0: Any): Boolean
    Definition Classes
    Any
  8. def hashCode(): Int
    Definition Classes
    Any
  9. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  10. def toString(): String
    Definition Classes
    Any

Inherited from ResponseGenerator

Inherited from Any

Ungrouped