org.jboss.portal.portlet.impl
Class PortletRequestImpl
java.lang.Object
org.jboss.portal.portlet.impl.PortletRequestImpl
- All Implemented Interfaces:
- PortletRequest
- Direct Known Subclasses:
- ActionRequestImpl, RenderRequestImpl
public abstract class PortletRequestImpl
- extends java.lang.Object
- implements PortletRequest
PortletRequest implemention. The parameter implementation is left
to subclasses that can implement it differently.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected static final org.apache.log4j.Logger log
userContext
protected UserContext userContext
window
protected Window window
windowCtx
protected WindowContext windowCtx
instance
protected Instance instance
instanceCtx
protected InstanceContext instanceCtx
component
protected Component component
contentTypes
protected ContentTypes contentTypes
req
protected PortalRequest req
resp
protected PortalResponse resp
userInfo
protected java.util.Map userInfo
dreq
protected javax.servlet.http.HttpServletRequest dreq
portalContext
protected PortalContext portalContext
psession
protected PortletSessionImpl psession
preferences
protected PortletPreferences preferences
sessionStatus
protected int sessionStatus
PortletRequestImpl
public PortletRequestImpl(UserContext userContext,
PortletPreferences preferences,
Window window,
WindowContext windowCtx,
PortalRequest req,
PortalResponse resp,
javax.servlet.http.HttpServletRequest dreq)
getAttribute
public java.lang.Object getAttribute(java.lang.String name)
- Specified by:
getAttribute in interface PortletRequest
getAttributeNames
public java.util.Enumeration getAttributeNames()
- Specified by:
getAttributeNames in interface PortletRequest
setAttribute
public void setAttribute(java.lang.String name,
java.lang.Object value)
- Specified by:
setAttribute in interface PortletRequest
removeAttribute
public void removeAttribute(java.lang.String name)
- Specified by:
removeAttribute in interface PortletRequest
getProperty
public java.lang.String getProperty(java.lang.String name)
- Specified by:
getProperty in interface PortletRequest
getProperties
public java.util.Enumeration getProperties(java.lang.String name)
- Specified by:
getProperties in interface PortletRequest
getPropertyNames
public java.util.Enumeration getPropertyNames()
- Specified by:
getPropertyNames in interface PortletRequest
getContextPath
public java.lang.String getContextPath()
- Specified by:
getContextPath in interface PortletRequest
getAuthType
public java.lang.String getAuthType()
- Specified by:
getAuthType in interface PortletRequest
getRemoteUser
public java.lang.String getRemoteUser()
- Specified by:
getRemoteUser in interface PortletRequest
getUserPrincipal
public java.security.Principal getUserPrincipal()
- Specified by:
getUserPrincipal in interface PortletRequest
isUserInRole
public boolean isUserInRole(java.lang.String roleName)
- Specified by:
isUserInRole in interface PortletRequest
isSecure
public boolean isSecure()
- Specified by:
isSecure in interface PortletRequest
getResponseContentType
public java.lang.String getResponseContentType()
- Specified by:
getResponseContentType in interface PortletRequest
getResponseContentTypes
public java.util.Enumeration getResponseContentTypes()
- Specified by:
getResponseContentTypes in interface PortletRequest
getLocale
public java.util.Locale getLocale()
- Specified by:
getLocale in interface PortletRequest
isPortletModeAllowed
public boolean isPortletModeAllowed(PortletMode portletMode)
- Specified by:
isPortletModeAllowed in interface PortletRequest
getPortletMode
public PortletMode getPortletMode()
- Specified by:
getPortletMode in interface PortletRequest
isWindowStateAllowed
public boolean isWindowStateAllowed(WindowState windowState)
- Specified by:
isWindowStateAllowed in interface PortletRequest
getWindowState
public WindowState getWindowState()
- Specified by:
getWindowState in interface PortletRequest
getPortletSession
public PortletSession getPortletSession()
- Specified by:
getPortletSession in interface PortletRequest
getPortletSession
public PortletSession getPortletSession(boolean create)
- Specified by:
getPortletSession in interface PortletRequest
getPortalContext
public PortalContext getPortalContext()
- Specified by:
getPortalContext in interface PortletRequest
getRequestedSessionId
public java.lang.String getRequestedSessionId()
- Specified by:
getRequestedSessionId in interface PortletRequest
isRequestedSessionIdValid
public boolean isRequestedSessionIdValid()
- Specified by:
isRequestedSessionIdValid in interface PortletRequest
getLocales
public java.util.Enumeration getLocales()
- Specified by:
getLocales in interface PortletRequest
getScheme
public java.lang.String getScheme()
- Specified by:
getScheme in interface PortletRequest
getServerName
public java.lang.String getServerName()
- Specified by:
getServerName in interface PortletRequest
getServerPort
public int getServerPort()
- Specified by:
getServerPort in interface PortletRequest
getPreferences
public PortletPreferences getPreferences()
- Specified by:
getPreferences in interface PortletRequest