t

org.http4s.dsl.impl

LocationResponseGenerator

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

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
Linear Supertypes
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, G] to any2stringadd[LocationResponseGenerator[F, G]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (LocationResponseGenerator[F, G], B)
    Implicit
    This member is added by an implicit conversion from LocationResponseGenerator[F, G] to ArrowAssoc[LocationResponseGenerator[F, G]] 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[G, A]): F[Response[G]]
  7. def apply(location: Location, headers: Header*)(implicit F: Applicative[F]): F[Response[G]]
  8. def apply[A](body: A, headers: Header*)(implicit F: Monad[F], w: EntityEncoder[G, A]): F[Response[G]]
    Definition Classes
    EntityResponseGenerator
  9. def apply[A](body: G[A])(implicit F: Monad[F], w: EntityEncoder[G, A]): F[Response[G]]
    Definition Classes
    EntityResponseGenerator
  10. def apply(headers: Header*)(implicit F: Applicative[F]): F[Response[G]]
    Definition Classes
    EntityResponseGenerator
  11. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  12. def ensuring(cond: (LocationResponseGenerator[F, G]) ⇒ Boolean, msg: ⇒ Any): LocationResponseGenerator[F, G]
    Implicit
    This member is added by an implicit conversion from LocationResponseGenerator[F, G] to Ensuring[LocationResponseGenerator[F, G]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: (LocationResponseGenerator[F, G]) ⇒ Boolean): LocationResponseGenerator[F, G]
    Implicit
    This member is added by an implicit conversion from LocationResponseGenerator[F, G] to Ensuring[LocationResponseGenerator[F, G]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def ensuring(cond: Boolean, msg: ⇒ Any): LocationResponseGenerator[F, G]
    Implicit
    This member is added by an implicit conversion from LocationResponseGenerator[F, G] to Ensuring[LocationResponseGenerator[F, G]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. def ensuring(cond: Boolean): LocationResponseGenerator[F, G]
    Implicit
    This member is added by an implicit conversion from LocationResponseGenerator[F, G] to Ensuring[LocationResponseGenerator[F, G]] 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, G] to StringFormat[LocationResponseGenerator[F, G]] 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, G], B)
    Implicit
    This member is added by an implicit conversion from LocationResponseGenerator[F, G] to ArrowAssoc[LocationResponseGenerator[F, G]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Deprecated Value Members

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

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

Inherited from EntityResponseGenerator[F, G]

Inherited from ResponseGenerator

Inherited from Any

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

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

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

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

Ungrouped