sttp.model.headers.Cookie
See theCookie companion class
object Cookie
For a description of the behavior of apply
, parse
, safeApply
and unsafeApply
methods, see sttp.model.
Attributes
Members list
Type members
Classlikes
object SameSite
Inherited types
The names of the product elements
The names of the product elements
Attributes
- Inherited from:
- Mirror
The name of the type
The name of the type
Attributes
- Inherited from:
- Mirror
Value members
Concrete methods
Parse the cookie, represented as a header value (in the format: [name]=[value]
).
Parse the cookie, represented as a header value (in the format: [name]=[value]
).
Attributes
Attributes
- Returns
-
Representation of the cookies as in a header value, in the format:
[name]=[value]; [name]=[value]; ...
.
Attributes
- Throws
-
IllegalArgumentException
If the cookie name or value contain illegal characters.
In this article