Package hirez.api
Interface SessionStorage
-
- All Known Implementing Classes:
CachedSessionStorage
,FileSessionStorage
public interface SessionStorage
-
-
Field Summary
Fields Modifier and Type Field Description static SessionStorage
DEFAULT
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
get()
void
get(java.util.function.Consumer<java.lang.String> session)
boolean
isPresent()
void
set(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()
-
-