Package | Description |
---|---|
io.jooby | |
io.jooby.internal |
Modifier and Type | Class and Description |
---|---|
static class |
SessionToken.CookieID
Looks for a session ID from request cookie headers.
|
static class |
SessionToken.HeaderID
Looks for a session ID from request headers.
|
static class |
SessionToken.SignedCookie
Looks for a session token from request cookie.
|
Modifier and Type | Method and Description |
---|---|
static SessionToken |
SessionToken.combine(SessionToken... tokens)
Combine/compose two or more session tokens.
|
static SessionToken |
SessionToken.cookieId(Cookie cookie)
Create a cookie-based Session ID.
|
SessionToken |
SessionStore.InMemory.getToken()
Session token.
|
static SessionToken |
SessionToken.header(String name)
Create a header-based Session Token.
|
static SessionToken |
SessionToken.signedCookie(Cookie cookie)
Create a signed-cookie-based Session token.
|
Modifier and Type | Method and Description |
---|---|
static SessionToken |
SessionToken.combine(SessionToken... tokens)
Combine/compose two or more session tokens.
|
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,
SessionToken token)
Creates a session store that uses (un)signed data.
|
Modifier and Type | Class and Description |
---|---|
class |
MultipleSessionToken |
Constructor and Description |
---|
MemorySessionStore(SessionToken token,
Duration timeout) |
MultipleSessionToken(SessionToken... sessionToken) |
SignedSessionStore(SessionToken token,
Function<String,Map<String,String>> decoder,
Function<Map<String,String>,String> encoder) |
Copyright © 2020. All rights reserved.