object HttpCookie extends Serializable
- Source
- HttpCookie.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- HttpCookie
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- def apply(name: String, value: String, expires: Option[DateTime] = None, maxAge: Option[Long] = None, domain: Option[String] = None, path: Option[String] = None, secure: Boolean = false, httpOnly: Boolean = false, extension: Option[String] = None): HttpCookie
You are encouraged to provide only 'name' and 'value' here, and use 'withXxx' methods to populate other fields.
Deprecated Value Members
- def fromPair(pair: HttpCookiePair, expires: Option[DateTime] = None, maxAge: Option[Long] = None, domain: Option[String] = None, path: Option[String] = None, secure: Boolean = false, httpOnly: Boolean = false, extension: Option[String] = None): HttpCookie
- Annotations
- @deprecated
- Deprecated
(Since version 10.2.0) Use HttpCookiePair.toCookie and withXxx methods instead
- def unapply(cookie: HttpCookie): Option[(String, String, Option[DateTime], Option[Long], Option[String], Option[String], Boolean, Boolean, Option[String])]
- Annotations
- @deprecated
- Deprecated
(Since version 10.2.0) Pattern matching on HttpCookie is deprecated because of the big number of fields and potential future compatibility hazards. Please use other means to check the fields.