Modifier and Type | Method | Description |
---|---|---|
PortletSession |
PortletRequest.getPortletSession() |
Returns the current portlet session or, if there is no current session,
creates one and returns the new session.
|
PortletSession |
PortletRequest.getPortletSession(boolean create) |
Returns the current portlet session or, if there is no current session
and the given flag is
true , creates one and returns
the new session. |