| java.lang.Object org.springframework.web.context.request.AbstractRequestAttributesScope org.springframework.web.context.request.SessionScope
Constructor Summary | |
public | SessionScope() Create a new SessionScope, storing attributes in a locally
isolated session (or default session, if there is no distinction
between a global session and a component-specific session). | public | SessionScope(boolean globalSession) Create a new SessionScope, specifying whether to store attributes
in the global session, provided that such a distinction is available. |
SessionScope | public SessionScope()(Code) | | Create a new SessionScope, storing attributes in a locally
isolated session (or default session, if there is no distinction
between a global session and a component-specific session).
|
SessionScope | public SessionScope(boolean globalSession)(Code) | | Create a new SessionScope, specifying whether to store attributes
in the global session, provided that such a distinction is available.
This distinction is important for Portlet environments, where there
are two notions of a session: "portlet scope" and "application scope".
If this flag is on, objects will be put into the "application scope" session;
else they will end up in the "portlet scope" session (the typical default).
In a Servlet environment, this flag is effectively ignored.
Parameters: globalSession - true in case of the global session as target;false in case of a component-specific session as target See Also: org.springframework.web.portlet.context.PortletRequestAttributes See Also: org.springframework.web.context.request.ServletRequestAttributes |
getScope | protected int getScope()(Code) | | |
|
|