package model
Ordering
- Alphabetic
Visibility
- Public
- Protected
Type Members
- case class Cookie(name: String, value: String, comment: String = null, domain: String = null, expires: Instant = null, maxAge: Integer = null, path: String = null, version: Int = 1, discard: Boolean = false, httpOnly: Boolean = false, secure: Boolean = false, sameSite: String = null) extends Product with Serializable
- sealed trait FormEntry extends AnyRef
- case class FormFile(fileName: String, filePath: Path, headers: HeaderMap) extends FormEntry with Product with Serializable
- case class FormValue(value: String, headers: HeaderMap) extends FormEntry with Product with Serializable
- case class Request(exchange: HttpServerExchange, remainingPathSegments: Seq[String]) extends Product with Serializable
- case class Response[+T](data: T, statusCode: Int, headers: Seq[(String, String)], cookies: Seq[Cookie]) extends Product with Serializable
The basic response returned by a HTTP endpoint.
The basic response returned by a HTTP endpoint.
Note that data by default can take in a wide range of types: strings, bytes, uPickle JSON-convertable types or arbitrary input streams. You can also construct your own implementations of
Response.Data
. - sealed trait Status extends AnyRef