t

org.http4s.dsl.impl

LocationResponseGenerator

trait LocationResponseGenerator[F[_]] extends EntityResponseGenerator[F]

Helper for the generation of a org.http4s.Response which may contain a Location header and may contain a body.

A 300, 301, 302, 303, 307 and 308 status SHOULD contain a Location header, which distinguishes this from other EntityResponseGenerators.

Source
ResponseGenerator.scala
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LocationResponseGenerator
  2. EntityResponseGenerator
  3. ResponseGenerator
  4. 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 LocationResponseGenerator[F] to any2stringadd[LocationResponseGenerator[F]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (LocationResponseGenerator[F], B)
    Implicit
    This member is added by an implicit conversion from LocationResponseGenerator[F] to ArrowAssoc[LocationResponseGenerator[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](location: Location, body: A, headers: Header*)(implicit F: Monad[F], w: EntityEncoder[F, A]): F[Response[F]]
  7. def apply(location: Location, headers: Header*)(implicit F: Applicative[F]): F[Response[F]]
  8. def apply[A](body: A, headers: Header*)(implicit F: Monad[F], w: EntityEncoder[F, A]): F[Response[F]]
    Definition Classes
    EntityResponseGenerator
  9. def apply[A](body: F[A])(implicit F: Monad[F], w: EntityEncoder[F, A]): F[Response[F]]
    Definition Classes
    EntityResponseGenerator
  10. def apply(headers: Header*)(implicit F: Applicative[F]): F[Response[F]]
    Definition Classes
    EntityResponseGenerator
  11. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  12. def ensuring(cond: (LocationResponseGenerator[F]) ⇒ Boolean, msg: ⇒ Any): LocationResponseGenerator[F]
    Implicit
    This member is added by an implicit conversion from LocationResponseGenerator[F] to Ensuring[LocationResponseGenerator[F]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: (LocationResponseGenerator[F]) ⇒ Boolean): LocationResponseGenerator[F]
    Implicit
    This member is added by an implicit conversion from LocationResponseGenerator[F] to Ensuring[LocationResponseGenerator[F]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def ensuring(cond: Boolean, msg: ⇒ Any): LocationResponseGenerator[F]
    Implicit
    This member is added by an implicit conversion from LocationResponseGenerator[F] to Ensuring[LocationResponseGenerator[F]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. def ensuring(cond: Boolean): LocationResponseGenerator[F]
    Implicit
    This member is added by an implicit conversion from LocationResponseGenerator[F] to Ensuring[LocationResponseGenerator[F]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. def equals(arg0: Any): Boolean
    Definition Classes
    Any
  17. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from LocationResponseGenerator[F] to StringFormat[LocationResponseGenerator[F]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  18. def hashCode(): Int
    Definition Classes
    Any
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. def toString(): String
    Definition Classes
    Any
  21. def [B](y: B): (LocationResponseGenerator[F], B)
    Implicit
    This member is added by an implicit conversion from LocationResponseGenerator[F] to ArrowAssoc[LocationResponseGenerator[F]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Deprecated Value Members

  1. def apply(location: Uri)(implicit F: Applicative[F]): F[Response[F]]
    Annotations
    @deprecated
    Deprecated

    (Since version 0.18.0-M2) Use apply(Location(location)) instead

Inherited from EntityResponseGenerator[F]

Inherited from ResponseGenerator

Inherited from Any

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

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

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

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

Ungrouped