Package | Description |
---|---|
io.jooby | |
io.jooby.internal |
Modifier and Type | Class and Description |
---|---|
static class |
SessionStore.InMemory
Base class for in-memory session store.
|
Modifier and Type | Method and Description |
---|---|
SessionStore |
Router.getSessionStore()
Session store.
|
SessionStore |
Jooby.getSessionStore() |
static SessionStore |
SessionStore.memory()
Creates a cookie based session and store data in memory.
|
static SessionStore |
SessionStore.memory(Cookie cookie)
Creates a cookie based session and store data in memory.
|
static SessionStore |
SessionStore.memory(Cookie cookie,
Duration timeout)
Creates a cookie based session and store data in memory.
|
static SessionStore |
SessionStore.memory(Duration timeout)
Creates a cookie based session and store data in memory.
|
static SessionStore |
SessionStore.memory(int timeout)
Creates a cookie based session and store data in memory.
|
static SessionStore |
SessionStore.memory(SessionToken token)
Creates a session store that save data in memory.
|
static SessionStore |
SessionStore.memory(SessionToken token,
Duration timeout)
Creates a session store that save data in memory.
|
SessionStore |
SessionStore.InMemory.setToken(SessionToken token)
Set custom session token.
|
static SessionStore |
SessionStore.signed(SessionToken token,
Function<String,Map<String,String>> decoder,
Function<Map<String,String>,String> encoder)
Creates a session store that save data into Cookie.
|
static SessionStore |
SessionStore.signed(String secret)
Creates a session store that uses (un)signed data.
|
static SessionStore |
SessionStore.signed(String secret,
Cookie cookie)
Creates a session store that uses (un)signed data.
|
static SessionStore |
SessionStore.signed(String secret,
SessionToken token)
Creates a session store that uses (un)signed data.
|
Modifier and Type | Method and Description |
---|---|
Router |
Router.setSessionStore(SessionStore store)
Set session store.
|
Jooby |
Jooby.setSessionStore(SessionStore store) |
Modifier and Type | Class and Description |
---|---|
class |
MemorySessionStore |
class |
SignedSessionStore |
Modifier and Type | Method and Description |
---|---|
SessionStore |
RouterImpl.getSessionStore() |
SessionStore |
MemorySessionStore.setTimeout(Duration timeout) |
Modifier and Type | Method and Description |
---|---|
Router |
RouterImpl.setSessionStore(SessionStore sessionStore) |
Copyright © 2020. All rights reserved.