package model
- Alphabetic
- Public
- All
Type Members
-
case class
Cookie extends Product with Serializable
A cookie name-value pair.
A cookie name-value pair.
The
name
andvalue
should be already encoded (if necessary), as when serialised, they end up unmodified in the header. - case class CookieValueWithMeta extends Product with Serializable
-
case class
CookieWithMeta extends Product with Serializable
A cookie name-value pair with attributes.
A cookie name-value pair with attributes.
All
String
values should be already encoded (if necessary), as when serialised, they end up unmodified in the header. - trait HasHeaders extends AnyRef
-
class
Header extends AnyRef
An HTTP header.
An HTTP header. The name property is case-insensitive during equality checks.
To compare if two headers have the same name, use the is method, which does a case-insensitive check, instead of comparing the name property.
The name and value should be already encoded (if necessary), as when serialised, they end up unmodified in the header.
- trait HeaderNames extends AnyRef
- case class Headers(headers: Seq[Header]) extends HasHeaders with Product with Serializable
- case class MediaType extends Product with Serializable
- trait MediaTypes extends AnyRef
- final case class Method extends AnyVal with Product with Serializable
- trait Methods extends AnyRef
-
class
MultiQueryParams extends AnyRef
Represents query parameters, where each parameter can have 0, 1, or more values.
Represents query parameters, where each parameter can have 0, 1, or more values. All query parameters are assumed to be decoded.
-
case class
Part[T](name: String, body: T, otherDispositionParams: Map[String, String], headers: Seq[Header]) extends Product with Serializable
A decoded representation of a multipart part.
- final class StatusCode extends AnyVal
- trait StatusCodes extends AnyRef
-
case class
Uri extends Product with Serializable
A URI.
A URI. All components (scheme, host, query, ...) are stored decoded, and become encoded upon serialization (using toString).
Instances can be created using the uri interpolator:
uri"..."
(see UriInterpolator), or the factory methods on the Uri companion object. - trait UriInterpolator extends AnyRef
Value Members
- object Cookie extends Serializable
- object CookieValueWithMeta extends Serializable
- object CookieWithMeta extends Serializable
- object Header
- object HeaderNames extends HeaderNames
- object MediaType extends MediaTypes with Serializable
- object Method extends Methods with Serializable
- object MultiQueryParams
- object Part extends Serializable
- object StatusCode extends StatusCodes
-
object
Uri extends UriInterpolator with Serializable
safeApply
methods return a validation error if the scheme contains illegal characers or if the host is empty.safeApply
methods return a validation error if the scheme contains illegal characers or if the host is empty.unsafeApply
throws an IllegalArgumentException if there's a validation errornotValidated
doesn't perform any validation. - object UriInterpolator