Package hirez.api
Interface SessionStorage
-
- All Known Implementing Classes:
CachedSessionStorage,FileSessionStorage
public interface SessionStorage
-
-
Field Summary
Fields Modifier and Type Field Description static SessionStorageDEFAULT
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Stringget()voidget(java.util.function.Consumer<java.lang.String> session)booleanisPresent()voidset(CreateSession session)
-
-
-
Field Detail
-
DEFAULT
static final SessionStorage DEFAULT
-
-
Method Detail
-
get
java.lang.String get() throws java.lang.NullPointerException- Throws:
java.lang.NullPointerException
-
get
void get(java.util.function.Consumer<java.lang.String> session)
-
set
void set(CreateSession session)
-
isPresent
boolean isPresent()
-
-