SetCookie

trait SetCookie extends Cookie

Defines HTTP response cookie.

See also
Companion
object
trait Cookie
class Object
trait Matchable
class Any

Value members

Abstract methods

def domain: Option[String]

Gets cookie domain.

Gets cookie domain.

def expires: Option[Instant]

Gets maximum liftetime of cookie represented as time of expiry.

Gets maximum liftetime of cookie represented as time of expiry.

def httpOnly: Boolean

Tests HTTP only cookie.

Tests HTTP only cookie.

def maxAge: Option[Long]

Gets maximum liftetime of cookie represented as number of seconds until expiry.

Gets maximum liftetime of cookie represented as number of seconds until expiry.

def path: Option[String]

Gets cookie path.

Gets cookie path.

def secure: Boolean

Tests for secure cookie.

Tests for secure cookie.

Concrete methods

Converts to PlainCookie.

Converts to PlainCookie.

Inherited methods

def name: String

Gets cookie name.

Gets cookie name.

Inherited from
Cookie
def value: String

Gets cookie value.

Gets cookie value.

Inherited from
Cookie