package http
Ordering
- Alphabetic
Visibility
- Public
- All
Type Members
- sealed case class HostPort (host: String, port: Option[Int]) extends Product with Serializable
-
sealed
case class
HttpRequestHeader
(method: HttpMethod.Value, path: Path = Uri.Path.Root, headers: List[HttpHeader] = Nil, query: Query = Uri.Query.empty, version: HttpVersion.Value = HttpVersion.V1_1) extends Product with Serializable
Http Request Header
Http Request Header
- method
Request Method
- path
Request path (absolute)
- headers
Request Headers
- query
Request Query
- version
Http Request Version
-
sealed
case class
HttpResponseHeader
(status: HttpStatusCode, reason: String, headers: List[HttpHeader] = Nil, version: HttpVersion.Value = HttpVersion.V1_1) extends Product with Serializable
Header of the Http Response
Header of the Http Response
- status
Status code
- reason
Reason Phrase
- headers
Headers of the response
- version
Version
- sealed trait HttpStatusCode extends AnyRef
-
case class
Scheme
extends Product with Serializable
A generic protocol for Uri.
-
sealed
case class
Uri
(scheme: Scheme, host: HostPort, path: Path, query: Query) extends Product with Serializable
Internet Uri, as defined in http://tools.ietf.org/html/rfc3986 All values are decoded (no % escaping)
Value Members
- object HostPort extends Serializable
- object HttpMethod extends Enumeration
- object HttpScheme
-
object
HttpStatusCode
Created by pach on 05/01/17.
- object HttpVersion extends Enumeration
- object Scheme extends Serializable
- object Uri extends Serializable