StdHttp

org.terminal21.client.components.std.StdHttp
sealed trait StdHttp extends UiElement

Elements mapping to Http functionality

Attributes

Graph
Supertypes
class UiElement
trait AnyElement
class Object
trait Matchable
class Any
Known subtypes
class Cookie
class CookieReader

Members list

Type members

Inherited types

type This <: UiElement

Attributes

Inherited from:
UiElement

Value members

Abstract methods

def requestId: String

Each requestId will be processed only once per browser.

Each requestId will be processed only once per browser.

I.e. lets say we have the Cookie(). If we add a cookie, we send it to the UI which in turn checks if it already set the cookie via the requestId. If it did, it skips it, if it didn't it sets the cookie.

Attributes

Returns

Should always be TransientRequest.newRequestId()

Inherited methods

def dataStore: TypedMap

Attributes

Inherited from:
UiElement
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 key: String

Attributes

Inherited from:
UiElement
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
def withDataStore(ds: TypedMap): This

Attributes

Inherited from:
UiElement
def withKey(key: String): This

Attributes

Inherited from:
UiElement