public abstract class PortletRequestImpl extends Object implements javax.portlet.PortletRequest
| Modifier and Type | Field and Description |
|---|---|
protected PortletRequestAttributes |
attributes
.
|
protected ClientContext |
clientContext
.
|
protected PortletContainerImpl |
container
.
|
protected PortletInvocation |
invocation
.
|
protected static org.gatein.common.logging.Logger |
log
.
|
protected ContainerNavigationInfo |
navigationInfo
.
|
protected javax.portlet.PortalContext |
portalContext
.
|
protected javax.portlet.PortletPreferences |
preferences
.
|
protected PortletSessionImpl |
psession
.
|
protected PortletRequestParameterMap |
requestParameterMap
.
|
protected SecurityContext |
securityContext
.
|
protected ServerContext |
serverContext
.
|
protected int |
sessionStatus
.
|
protected Set<Mode> |
supportedModes
.
|
protected Set<WindowState> |
supportedWindowStates
.
|
protected UserContext |
userContext
.
|
protected WindowContext |
windowContext
.
|
| Constructor and Description |
|---|
PortletRequestImpl(PortletContainerImpl container,
PortletInvocation invocation) |
protected static final org.gatein.common.logging.Logger log
protected PortletInvocation invocation
protected ClientContext clientContext
protected UserContext userContext
protected SecurityContext securityContext
protected ServerContext serverContext
protected WindowContext windowContext
protected javax.portlet.PortletPreferences preferences
protected PortletContainerImpl container
protected javax.portlet.PortalContext portalContext
protected PortletSessionImpl psession
protected int sessionStatus
protected ContainerNavigationInfo navigationInfo
protected final PortletRequestAttributes attributes
protected final PortletRequestParameterMap requestParameterMap
protected final Set<WindowState> supportedWindowStates
public PortletRequestImpl(PortletContainerImpl container, PortletInvocation invocation)
public String getParameter(String name)
getParameter in interface javax.portlet.PortletRequestpublic Enumeration<String> getParameterNames()
getParameterNames in interface javax.portlet.PortletRequestpublic String[] getParameterValues(String name)
getParameterValues in interface javax.portlet.PortletRequestpublic Map<String,String[]> getParameterMap()
getParameterMap in interface javax.portlet.PortletRequestpublic javax.portlet.WindowState getWindowState()
getWindowState in interface javax.portlet.PortletRequestpublic javax.portlet.PortletMode getPortletMode()
getPortletMode in interface javax.portlet.PortletRequestpublic Object getAttribute(String name) throws IllegalArgumentException
getAttribute in interface javax.portlet.PortletRequestIllegalArgumentExceptionpublic Enumeration<String> getAttributeNames()
getAttributeNames in interface javax.portlet.PortletRequestpublic void setAttribute(String name, Object value)
setAttribute in interface javax.portlet.PortletRequestpublic void removeAttribute(String name)
removeAttribute in interface javax.portlet.PortletRequestpublic String getProperty(String name)
getProperty in interface javax.portlet.PortletRequestpublic Enumeration<String> getProperties(String name)
getProperties in interface javax.portlet.PortletRequestpublic Enumeration<String> getPropertyNames()
getPropertyNames in interface javax.portlet.PortletRequestpublic String getContextPath()
getContextPath in interface javax.portlet.PortletRequestpublic String getAuthType()
getAuthType in interface javax.portlet.PortletRequestpublic String getRemoteUser()
getRemoteUser in interface javax.portlet.PortletRequestpublic Principal getUserPrincipal()
getUserPrincipal in interface javax.portlet.PortletRequestpublic boolean isUserInRole(String roleName)
isUserInRole in interface javax.portlet.PortletRequestpublic boolean isSecure()
isSecure in interface javax.portlet.PortletRequestpublic String getResponseContentType()
getResponseContentType in interface javax.portlet.PortletRequestpublic Enumeration<String> getResponseContentTypes()
getResponseContentTypes in interface javax.portlet.PortletRequestpublic Locale getLocale()
getLocale in interface javax.portlet.PortletRequestpublic boolean isPortletModeAllowed(javax.portlet.PortletMode portletMode)
isPortletModeAllowed in interface javax.portlet.PortletRequestpublic boolean isWindowStateAllowed(javax.portlet.WindowState windowState)
isWindowStateAllowed in interface javax.portlet.PortletRequestpublic javax.portlet.PortletSession getPortletSession()
getPortletSession in interface javax.portlet.PortletRequestpublic javax.portlet.PortletSession getPortletSession(boolean create)
getPortletSession in interface javax.portlet.PortletRequestpublic javax.portlet.PortalContext getPortalContext()
getPortalContext in interface javax.portlet.PortletRequestpublic String getRequestedSessionId()
getRequestedSessionId in interface javax.portlet.PortletRequestpublic boolean isRequestedSessionIdValid()
isRequestedSessionIdValid in interface javax.portlet.PortletRequestpublic Enumeration<Locale> getLocales()
getLocales in interface javax.portlet.PortletRequestpublic String getScheme()
getScheme in interface javax.portlet.PortletRequestpublic String getServerName()
getServerName in interface javax.portlet.PortletRequestpublic int getServerPort()
getServerPort in interface javax.portlet.PortletRequestpublic javax.portlet.PortletPreferences getPreferences()
getPreferences in interface javax.portlet.PortletRequestpublic PortletRequestAttributes getAttributes()
public String getWindowID()
getWindowID in interface javax.portlet.PortletRequestpublic javax.servlet.http.Cookie[] getCookies()
getCookies in interface javax.portlet.PortletRequestpublic Map<String,String[]> getPrivateParameterMap()
getPrivateParameterMap in interface javax.portlet.PortletRequestpublic Map<String,String[]> getPublicParameterMap()
getPublicParameterMap in interface javax.portlet.PortletRequestpublic final javax.servlet.http.HttpServletRequestWrapper getRealRequest()
protected void initProperties(org.gatein.common.util.MultiValuedPropertyMap<String> properties)
Copyright © 2003-2017 GateIn. All Rights Reserved.