org.springframework.web.portlet.util
Class PortletRequestWrapper
java.lang.Object
   org.springframework.web.portlet.util.PortletRequestWrapper
org.springframework.web.portlet.util.PortletRequestWrapper
- All Implemented Interfaces: 
- javax.portlet.PortletRequest
- Direct Known Subclasses: 
- ActionRequestWrapper
- public class PortletRequestWrapper 
- extends Object- implements javax.portlet.PortletRequest
Simple wrapper for a PortletRequest, delegating all
 calls to the underlying request.
 
 
(In the style of the Servlet API's ServletRequestWrapper.)
- Since:
- 2.0
- Author:
- Juergen Hoeller
- See Also:
- ActionRequestWrapper,- ServletRequestWrapper
 
| Fields inherited from interface javax.portlet.PortletRequest | 
| BASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, FORM_AUTH, USER_INFO | 
 
| Constructor Summary | 
| PortletRequestWrapper(javax.portlet.PortletRequest request)Create a PortletRequestWrapper for the given
 PortletRequest. | 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
PortletRequestWrapper
public PortletRequestWrapper(javax.portlet.PortletRequest request)
- Create a PortletRequestWrapper for the given PortletRequest.
 
- Parameters:
- request- the original- PortletRequestto wrap
- Throws:
- IllegalArgumentException- if the supplied- requestis- null
 
isWindowStateAllowed
public boolean isWindowStateAllowed(javax.portlet.WindowState state)
- 
- Specified by:
- isWindowStateAllowedin interface- javax.portlet.PortletRequest
 
- 
 
isPortletModeAllowed
public boolean isPortletModeAllowed(javax.portlet.PortletMode mode)
- 
- Specified by:
- isPortletModeAllowedin interface- javax.portlet.PortletRequest
 
- 
 
getPortletMode
public javax.portlet.PortletMode getPortletMode()
- 
- Specified by:
- getPortletModein interface- javax.portlet.PortletRequest
 
- 
 
getWindowState
public javax.portlet.WindowState getWindowState()
- 
- Specified by:
- getWindowStatein interface- javax.portlet.PortletRequest
 
- 
 
getPreferences
public javax.portlet.PortletPreferences getPreferences()
- 
- Specified by:
- getPreferencesin interface- javax.portlet.PortletRequest
 
- 
 
getPortletSession
public javax.portlet.PortletSession getPortletSession()
- 
- Specified by:
- getPortletSessionin interface- javax.portlet.PortletRequest
 
- 
 
getPortletSession
public javax.portlet.PortletSession getPortletSession(boolean create)
- 
- Specified by:
- getPortletSessionin interface- javax.portlet.PortletRequest
 
- 
 
getProperty
public String getProperty(String name)
- 
- Specified by:
- getPropertyin interface- javax.portlet.PortletRequest
 
- 
 
getProperties
public Enumeration getProperties(String name)
- 
- Specified by:
- getPropertiesin interface- javax.portlet.PortletRequest
 
- 
 
getPropertyNames
public Enumeration getPropertyNames()
- 
- Specified by:
- getPropertyNamesin interface- javax.portlet.PortletRequest
 
- 
 
getPortalContext
public javax.portlet.PortalContext getPortalContext()
- 
- Specified by:
- getPortalContextin interface- javax.portlet.PortletRequest
 
- 
 
getAuthType
public String getAuthType()
- 
- Specified by:
- getAuthTypein interface- javax.portlet.PortletRequest
 
- 
 
getContextPath
public String getContextPath()
- 
- Specified by:
- getContextPathin interface- javax.portlet.PortletRequest
 
- 
 
getRemoteUser
public String getRemoteUser()
- 
- Specified by:
- getRemoteUserin interface- javax.portlet.PortletRequest
 
- 
 
getUserPrincipal
public Principal getUserPrincipal()
- 
- Specified by:
- getUserPrincipalin interface- javax.portlet.PortletRequest
 
- 
 
isUserInRole
public boolean isUserInRole(String role)
- 
- Specified by:
- isUserInRolein interface- javax.portlet.PortletRequest
 
- 
 
getAttribute
public Object getAttribute(String name)
- 
- Specified by:
- getAttributein interface- javax.portlet.PortletRequest
 
- 
 
getAttributeNames
public Enumeration getAttributeNames()
- 
- Specified by:
- getAttributeNamesin interface- javax.portlet.PortletRequest
 
- 
 
getParameter
public String getParameter(String name)
- 
- Specified by:
- getParameterin interface- javax.portlet.PortletRequest
 
- 
 
getParameterNames
public Enumeration getParameterNames()
- 
- Specified by:
- getParameterNamesin interface- javax.portlet.PortletRequest
 
- 
 
getParameterValues
public String[] getParameterValues(String name)
- 
- Specified by:
- getParameterValuesin interface- javax.portlet.PortletRequest
 
- 
 
getParameterMap
public Map getParameterMap()
- 
- Specified by:
- getParameterMapin interface- javax.portlet.PortletRequest
 
- 
 
isSecure
public boolean isSecure()
- 
- Specified by:
- isSecurein interface- javax.portlet.PortletRequest
 
- 
 
setAttribute
public void setAttribute(String name,
                         Object value)
- 
- Specified by:
- setAttributein interface- javax.portlet.PortletRequest
 
- 
 
removeAttribute
public void removeAttribute(String name)
- 
- Specified by:
- removeAttributein interface- javax.portlet.PortletRequest
 
- 
 
getRequestedSessionId
public String getRequestedSessionId()
- 
- Specified by:
- getRequestedSessionIdin interface- javax.portlet.PortletRequest
 
- 
 
isRequestedSessionIdValid
public boolean isRequestedSessionIdValid()
- 
- Specified by:
- isRequestedSessionIdValidin interface- javax.portlet.PortletRequest
 
- 
 
getResponseContentType
public String getResponseContentType()
- 
- Specified by:
- getResponseContentTypein interface- javax.portlet.PortletRequest
 
- 
 
getResponseContentTypes
public Enumeration getResponseContentTypes()
- 
- Specified by:
- getResponseContentTypesin interface- javax.portlet.PortletRequest
 
- 
 
getLocale
public Locale getLocale()
- 
- Specified by:
- getLocalein interface- javax.portlet.PortletRequest
 
- 
 
getLocales
public Enumeration getLocales()
- 
- Specified by:
- getLocalesin interface- javax.portlet.PortletRequest
 
- 
 
getScheme
public String getScheme()
- 
- Specified by:
- getSchemein interface- javax.portlet.PortletRequest
 
- 
 
getServerName
public String getServerName()
- 
- Specified by:
- getServerNamein interface- javax.portlet.PortletRequest
 
- 
 
getServerPort
public int getServerPort()
- 
- Specified by:
- getServerPortin interface- javax.portlet.PortletRequest
 
- 
 
Copyright © 2002-2008 The Spring Framework.