| |
|
| javax.servlet.http.HttpServletRequestWrapper org.apache.pluto.internal.impl.PortletRequestImpl
All known Subclasses: org.apache.pluto.internal.impl.ActionRequestImpl, org.apache.pluto.internal.impl.RenderRequestImpl,
PortletRequestImpl | public PortletRequestImpl(PortletContainer container, InternalPortletWindow internalPortletWindow, HttpServletRequest servletRequest)(Code) | | Creates a PortletRequestImpl instance.
Parameters: container - the portlet container. Parameters: internalPortletWindow - the internal portlet window. Parameters: servletRequest - the underlying servlet request. |
baseGetParameterMap | protected Map baseGetParameterMap()(Code) | | The base method that returns the parameter map in this portlet request.
All parameter-related methods call this base method. Subclasses may just
overwrite this protected method to change behavior of all parameter-
related methods.
the base parameter map from which parameters are retrieved. |
createUserInfoMap | public Map createUserInfoMap()(Code) | | |
getParameterMap | public Map getParameterMap()(Code) | | |
getPortalContext | public PortalContext getPortalContext()(Code) | | |
getPortletSession | public PortletSession getPortletSession()(Code) | | |
getPortletSession | public PortletSession getPortletSession(boolean create)(Code) | | Returns the portlet session.
Note that since portlet request instance is created everytime the portlet
container receives an incoming request, the portlet session instance held
by the request instance is also re-created for each incoming request.
|
getRequestedSessionId | public String getRequestedSessionId()(Code) | | |
getResponseContentType | public String getResponseContentType()(Code) | | |
getServerPort | public int getServerPort()(Code) | | |
isRequestedSessionIdValid | public boolean isRequestedSessionIdValid()(Code) | | |
isSecure | public boolean isSecure()(Code) | | |
isUserInRole | public boolean isUserInRole(String roleName)(Code) | | Determines whether a user is mapped to the specified role. As specified
in PLT-20-3, we must reference the <security-role-ref> mappings
within the deployment descriptor. If no mapping is available, then, and
only then, do we check use the actual role name specified against the web
application deployment descriptor.
Parameters: roleName - the name of the role true if it is determined the user has the given role. |
isWindowStateAllowed | public boolean isWindowStateAllowed(WindowState state)(Code) | | Determine whether or not the specified WindowState is allowed for this
portlet.
Parameters: state - the state in question true if the state is allowed. |
release | public void release()(Code) | | TODO: Implement this properly. Not required now
|
removeAttribute | public void removeAttribute(String name)(Code) | | |
setBodyAccessed | protected void setBodyAccessed()(Code) | | |
|
|
|