public static class ServerSessionMiddleware.Session extends Object
Modifier and Type | Method and Description |
---|---|
void |
eraseSessionOption(String name)
Idempotently remove name from this session.
|
SessionOptionValue |
getSessionOption(String name)
Get session option by name, or null if it does not exist.
|
Map<String,SessionOptionValue> |
getSessionOptions()
Get an immutable copy of the session options map.
|
void |
setSessionOption(String name,
SessionOptionValue value)
Set session option by name to given value.
|
public final String id
public SessionOptionValue getSessionOption(String name)
public Map<String,SessionOptionValue> getSessionOptions()
public void setSessionOption(String name, SessionOptionValue value)
public void eraseSessionOption(String name)
Copyright © 2024 The Apache Software Foundation. All rights reserved.