Package | Description |
---|---|
org.jooby |
do more, more easily
|
org.jooby.internal |
Modifier and Type | Method and Description |
---|---|
Session |
Session.Builder.build()
Final step to build a new session.
|
Session |
Session.Store.get(Session.Builder builder)
Get a session by ID (if any).
|
Session |
Session.Mem.get(Session.Builder builder) |
Session |
Request.session() |
Session |
Request.Forwarding.session() |
default Session |
Session.set(String name,
boolean value)
Set a session local using a the given name.
|
default Session |
Session.set(String name,
byte value)
Set a session local using a the given name.
|
default Session |
Session.set(String name,
char value)
Set a session local using a the given name.
|
default Session |
Session.set(String name,
CharSequence value)
Set a session local using a the given name.
|
default Session |
Session.set(String name,
double value)
Set a session local using a the given name.
|
default Session |
Session.set(String name,
float value)
Set a session local using a the given name.
|
default Session |
Session.set(String name,
int value)
Set a session local using a the given name.
|
default Session |
Session.set(String name,
long value)
Set a session local using a the given name.
|
default Session |
Session.set(String name,
short value)
Set a session local using a the given name.
|
Session |
Session.set(String name,
String value)
Set a session local using a the given name.
|
Session |
Session.unset()
Unset/remove all the session data.
|
Modifier and Type | Method and Description |
---|---|
Optional<Session> |
Request.ifSession() |
Optional<Session> |
Request.Forwarding.ifSession() |
Modifier and Type | Method and Description |
---|---|
void |
Session.Store.create(Session session) |
void |
Session.Mem.create(Session session) |
void |
Session.Store.save(Session session)
Save/persist a session.
|
void |
Session.Mem.save(Session session) |
Modifier and Type | Class and Description |
---|---|
class |
RequestScopedSession |
class |
SessionImpl |
Modifier and Type | Method and Description |
---|---|
Session |
SessionManager.create(Request req,
Response rsp) |
Session |
ServerSessionManager.create(Request req,
Response rsp) |
Session |
CookieSessionManager.create(Request req,
Response rsp) |
Session |
SessionManager.get(Request req,
Response rsp) |
Session |
ServerSessionManager.get(Request req,
Response rsp) |
Session |
CookieSessionManager.get(Request req,
Response rsp) |
Session |
RequestScopedSession.session() |
Session |
RequestImpl.session() |
Session |
SessionImpl.set(String name,
String value) |
Session |
RequestScopedSession.set(String name,
String value) |
Session |
SessionImpl.unset() |
Session |
RequestScopedSession.unset() |
Modifier and Type | Method and Description |
---|---|
Optional<Session> |
RequestImpl.ifSession() |
Modifier and Type | Method and Description |
---|---|
void |
SessionManager.destroy(Session session) |
void |
ServerSessionManager.destroy(Session session) |
void |
CookieSessionManager.destroy(Session session) |
void |
SessionManager.requestDone(Session session) |
void |
ServerSessionManager.requestDone(Session session) |
void |
CookieSessionManager.requestDone(Session session) |
Constructor and Description |
---|
RequestScopedSession(SessionManager sm,
Response rsp,
Session session,
Runnable resetSession) |
Copyright © 2017. All rights reserved.