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
  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 liftG: FunctionK[G, F]
    Definition Classes
    EntityResponseGenerator
  3. 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](location: Location, body: A, headers: ToRaw*)(implicit F: Applicative[F], w: EntityEncoder[G, A]): F[Response[G]]
  5. def apply(location: Location)(implicit F: Applicative[F]): F[Response[G]]
  6. def apply[A](body: A, headers: ToRaw*)(implicit F: Applicative[F], w: EntityEncoder[G, A]): F[Response[G]]
    Definition Classes
    EntityResponseGenerator
  7. def apply[A](body: G[A])(implicit F: Monad[F], w: EntityEncoder[G, A]): F[Response[G]]
    Definition Classes
    EntityResponseGenerator
  8. def apply()(implicit F: Applicative[F]): F[Response[G]]
    Definition Classes
    EntityResponseGenerator
  9. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  10. def equals(arg0: Any): Boolean
    Definition Classes
    Any
  11. def hashCode(): Int
    Definition Classes
    Any
  12. def headers(header: ToRaw, _headers: ToRaw*)(implicit F: Applicative[F]): F[Response[G]]
    Definition Classes
    EntityResponseGenerator
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. def toString(): String
    Definition Classes
    Any

Deprecated Value Members

  1. def apply(uri: 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

Ungrouped