object Response extends KleisliSyntax with Serializable
- Source
- Message.scala
- Alphabetic
- By Inheritance
- Response
- Serializable
- Serializable
- KleisliSyntax
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
apply[F[_]](status: Status = Status.Ok, httpVersion: HttpVersion = HttpVersion.`HTTP/1.1`, headers: Headers = Headers.empty, body: EntityBody[F] = EmptyBody, attributes: Vault = Vault.empty): Response[F]
Representation of the HTTP response to send back to the client
Representation of the HTTP response to send back to the client
- status
Status code and message
- headers
Headers containing all response headers
- body
EntityBody[F] representing the possible body of the response
- attributes
io.chrisdavenport.vault.Vault containing additional parameters which may be used by the http4s backend for additional processing such as java.io.File object
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
implicit
def
http4sKleisliAuthedRoutesSyntax[F[_], A](authedRoutes: AuthedRoutes[A, F]): KleisliAuthedRoutesOps[F, A]
- Definition Classes
- KleisliSyntax
-
implicit
def
http4sKleisliHttpAppSyntax[F[_]](app: HttpApp[F])(implicit arg0: Functor[F]): KleisliHttpAppOps[F]
- Definition Classes
- KleisliSyntax
-
implicit
def
http4sKleisliHttpRoutesSyntax[F[_]](routes: HttpRoutes[F]): KleisliHttpRoutesOps[F]
- Definition Classes
- KleisliSyntax
-
implicit
def
http4sKleisliResponseSyntaxOptionT[F[_], A](kleisli: Kleisli[[β$0$]OptionT[F, β$0$], A, Response[F]])(implicit arg0: Functor[F]): KleisliResponseOps[F, A]
- Definition Classes
- KleisliSyntax
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def notFound[F[_]]: Response[F]
- def notFoundFor[F[_]](request: Request[F])(implicit arg0: Applicative[F], encoder: EntityEncoder[F, String]): F[Response[F]]
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- def timeout[F[_]]: Response[F]
-
def
toString(): String
- Definition Classes
- AnyRef → Any
- def unapply[F[_]](response: Response[F]): Option[(Status, HttpVersion, Headers, EntityBody[F], Vault)]
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()