PersistentCookie

scamper.http.cookies.PersistentCookie
sealed trait PersistentCookie extends Cookie

Persistent cookie in CookieStore.

Attributes

Graph
Supertypes
trait Cookie
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def creation: Instant

Gets cookie's creation time.

Gets cookie's creation time.

Attributes

def domain: String

Gets cookie domain.

Gets cookie domain.

Attributes

def expiry: Instant

Gets cookie's expiry time.

Gets cookie's expiry time.

Attributes

def hostOnly: Boolean

Indicates whether cookie should be limited to request host.

Indicates whether cookie should be limited to request host.

If true, the request host must be identical to cookie domain; otherwise, if false, the request host must simply "match" cookie domain.

Attributes

def httpOnly: Boolean

Indicates whether cookie should be limited to HTTP requests.

Indicates whether cookie should be limited to HTTP requests.

Attributes

def lastAccess: Instant

Gets cookie's last access time.

Gets cookie's last access time.

Attributes

def path: String

Gets cookie path.

Gets cookie path.

Attributes

def persistent: Boolean

Indicates whether cookie should be persistent after current session.

Indicates whether cookie should be persistent after current session.

Attributes

def secureOnly: Boolean

Indicates whether cookie should be limited to secure channels.

Indicates whether cookie should be limited to secure channels.

Attributes

def touch(): PersistentCookie.this.type

Updates last access time and returns cookie.

Updates last access time and returns cookie.

Attributes

Returns

this cookie

Concrete methods

Converts to PlainCookie.

Converts to PlainCookie.

Attributes

Inherited methods

def name: String

Gets cookie name.

Gets cookie name.

Attributes

Inherited from:
Cookie
def value: String

Gets cookie value.

Gets cookie value.

Attributes

Inherited from:
Cookie