A cookie name-value pair.
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.
An HTTP header.
An HTTP header. The name
property is case-insensitive during equality checks.
The name
and value
should be already encoded (if necessary), as when serialised, they end up unmodified in
the header.
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.
A decoded representation of a multipart part.
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.
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 error
notValidated
doesn't perform any validation.
A cookie name-value pair.
The
name
andvalue
should be already encoded (if necessary), as when serialised, they end up unmodified in the header.