t

org.http4s.dsl.impl

AllowResponseGenerator

trait AllowResponseGenerator[F[_]] 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
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  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. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from AllowResponseGenerator[F] to any2stringadd[AllowResponseGenerator[F]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (AllowResponseGenerator[F], B)
    Implicit
    This member is added by an implicit conversion from AllowResponseGenerator[F] to ArrowAssoc[AllowResponseGenerator[F]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  6. def apply[A](allow: Allow, body: A, headers: Header*)(implicit F: Monad[F], w: EntityEncoder[F, A]): F[Response[F]]
  7. def apply(allow: Allow, headers: Header*)(implicit F: Applicative[F]): F[Response[F]]
  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def ensuring(cond: (AllowResponseGenerator[F]) ⇒ Boolean, msg: ⇒ Any): AllowResponseGenerator[F]
    Implicit
    This member is added by an implicit conversion from AllowResponseGenerator[F] to Ensuring[AllowResponseGenerator[F]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  10. def ensuring(cond: (AllowResponseGenerator[F]) ⇒ Boolean): AllowResponseGenerator[F]
    Implicit
    This member is added by an implicit conversion from AllowResponseGenerator[F] to Ensuring[AllowResponseGenerator[F]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def ensuring(cond: Boolean, msg: ⇒ Any): AllowResponseGenerator[F]
    Implicit
    This member is added by an implicit conversion from AllowResponseGenerator[F] to Ensuring[AllowResponseGenerator[F]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: Boolean): AllowResponseGenerator[F]
    Implicit
    This member is added by an implicit conversion from AllowResponseGenerator[F] to Ensuring[AllowResponseGenerator[F]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def equals(arg0: Any): Boolean
    Definition Classes
    Any
  14. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from AllowResponseGenerator[F] to StringFormat[AllowResponseGenerator[F]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  15. def hashCode(): Int
    Definition Classes
    Any
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. def toString(): String
    Definition Classes
    Any
  18. def [B](y: B): (AllowResponseGenerator[F], B)
    Implicit
    This member is added by an implicit conversion from AllowResponseGenerator[F] to ArrowAssoc[AllowResponseGenerator[F]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from ResponseGenerator

Inherited from Any

Inherited by implicit conversion any2stringadd from AllowResponseGenerator[F] to any2stringadd[AllowResponseGenerator[F]]

Inherited by implicit conversion StringFormat from AllowResponseGenerator[F] to StringFormat[AllowResponseGenerator[F]]

Inherited by implicit conversion Ensuring from AllowResponseGenerator[F] to Ensuring[AllowResponseGenerator[F]]

Inherited by implicit conversion ArrowAssoc from AllowResponseGenerator[F] to ArrowAssoc[AllowResponseGenerator[F]]

Ungrouped