public static interface Session.Store
Modifier and Type | Method and Description |
---|---|
void |
create(Session session) |
void |
delete(String id)
Delete a session by ID.
|
default String |
generateID()
Generate a session ID, default algorithm use an
UUID . |
Session |
get(Session.Builder builder)
Get a session by ID (if any).
|
void |
save(Session session)
Save/persist a session.
|
Session get(Session.Builder builder)
builder
- A session builder.null
.void save(Session session)
session
- A session to be persisted.void create(Session session)
void delete(String id)
id
- A session ID.Copyright © 2015. All rights reserved.