Class CurrentKey
java.lang.Object
com.vaadin.kubernetes.starter.sessiontracker.CurrentKey
Holder for distributed storage session key.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringName of the Cookie that carries the distributed storage session key. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
COOKIE_NAME
Name of the Cookie that carries the distributed storage session key.- See Also:
-
-
Constructor Details
-
CurrentKey
public CurrentKey()
-
-
Method Details
-
set
Sets the distributed storage session key.- Parameters:
key- the distributed storage session key
-
clear
public static void clear()Clears the current distributed storage session key. -
get
Gets the current distributed storage session key.- Returns:
- the current distributed storage session key
-