case class HTTPCookie(name: String, value: Box[String], domain: Box[String], path: Box[String], maxAge: Box[Int], version: Box[Int], secure_?: Box[Boolean], httpOnly: Box[Boolean] = Empty) extends Cloneable with Product with Serializable
Repersents an immutable representation of an HTTP Cookie
- Alphabetic
- By Inheritance
- HTTPCookie
- Serializable
- Serializable
- Product
- Equals
- Cloneable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): HTTPCookie
- Definition Classes
- HTTPCookie → AnyRef
- val domain: Box[String]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val httpOnly: Box[Boolean]
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val maxAge: Box[Int]
- val name: String
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val path: Box[String]
- val secure_?: Box[Boolean]
-
def
setDomain(newDomain: String): HTTPCookie
Returns a new HTTPCookie that preserve existing member values but sets the cookie domain to newDomain
Returns a new HTTPCookie that preserve existing member values but sets the cookie domain to newDomain
- newDomain
- the new cookie domain
- returns
HTTPCookie
-
def
setHttpOnly(flagHttpOnly: Boolean): HTTPCookie
Returns a new HTTPCookie that preserve existing member values but sets the httpOnly attribute
Returns a new HTTPCookie that preserve existing member values but sets the httpOnly attribute
- flagHttpOnly
- should the cookie be flagged as HTTP Only (only works in Servlet 3.0 containers)
- returns
HTTPCookie
-
def
setMaxAge(newMaxAge: Int): HTTPCookie
Returns a new HTTPCookie that preserve existing member values but sets the cookie maxAge to newVMaxAge
Returns a new HTTPCookie that preserve existing member values but sets the cookie maxAge to newVMaxAge
- newMaxAge
- the new cookie maxAge
- returns
HTTPCookie
-
def
setPath(newPath: String): HTTPCookie
Returns a new HTTPCookie that preserve existing member values but sets the cookie path to newPath
Returns a new HTTPCookie that preserve existing member values but sets the cookie path to newPath
- newPath
- the new cookie path
- returns
HTTPCookie
-
def
setSecure(newSecure: Boolean): HTTPCookie
Returns a new HTTPCookie that preserve existing member values but sets the cookie secure flag to newSecure
Returns a new HTTPCookie that preserve existing member values but sets the cookie secure flag to newSecure
- newSecure
- the new cookie secure flag
- returns
HTTPCookie
-
def
setValue(newValue: String): HTTPCookie
Returns a new HTTPCookie that preserve existing member values but sets the cookie value to newValue
Returns a new HTTPCookie that preserve existing member values but sets the cookie value to newValue
- newValue
- the new cookie value
- returns
HTTPCookie
-
def
setVersion(newVersion: Int): HTTPCookie
Returns a new HTTPCookie that preserve existing member values but sets the cookie version to newVersion
Returns a new HTTPCookie that preserve existing member values but sets the cookie version to newVersion
- newVersion
- the new cookie version
- returns
HTTPCookie
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val value: Box[String]
- val version: Box[Int]
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )