Package com.aoapps.web.resources.servlet
Class RegistryEE.Session
java.lang.Object
com.aoapps.web.resources.servlet.RegistryEE.Session
- Enclosing class:
RegistryEE
The session-scope web resource registries are only available
when a session has been created and is active.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final ScopeEE.Session.Attribute
<Registry> The name of the session-scope attribute that contains the current session registry. -
Method Summary
Modifier and TypeMethodDescriptionstatic Registry
get
(HttpSession session) Gets the session-scope web resource registry for the given session.
-
Field Details
-
SESSION_ATTRIBUTE
The name of the session-scope attribute that contains the current session registry.
-
-
Method Details
-
get
Gets the session-scope web resource registry for the given session.Note: With the current implementation, the session registry may add to the request registry, but cannot remove from it or suppress anything in it.
TODO: Is the session registry meaningful? The idea is that it could be used for per-person theme selection via sessions.
- Returns:
- The registry or
null
whensession == null
.
-