Cookie

org.terminal21.client.components.std.Cookie
case class Cookie(key: String, name: String, value: String, path: Option[String], expireDays: Option[Int], requestId: String, dataStore: TypedMap) extends StdHttp

On the browser, https://github.com/js-cookie/js-cookie is used.

Set a cookie on the browser.

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait StdHttp
class UiElement
trait AnyElement
class Object
trait Matchable
class Any
Show all

Members list

Type members

Types

override type This = Cookie

Value members

Concrete methods

override def withDataStore(ds: TypedMap): This

Attributes

Definition Classes
override def withKey(key: String): Cookie

Attributes

Definition Classes

Inherited methods

def findKey(key: String): UiElement

Attributes

Inherited from:
UiElement
def flat: Seq[UiElement]

Attributes

Returns

this element along all it's children flattened

Inherited from:
UiElement
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
def store[V](key: TypedMapKey[V], value: V): This

Attributes

Inherited from:
UiElement
def storedValue[V](key: TypedMapKey[V]): V

Attributes

Inherited from:
UiElement

Attributes

Inherited from:
UiElement
def toSimpleString: String

Attributes

Inherited from:
UiElement