Class PortletRequestImpl
java.lang.Object
org.gatein.pc.portlet.impl.jsr168.api.PortletRequestImpl
- All Implemented Interfaces:
javax.portlet.PortletRequest
- Direct Known Subclasses:
ClientDataRequestImpl,EventRequestImpl,RenderRequestImpl
PortletRequest implemention. The parameter implementation is left to subclasses that can implement it differently.
- Version:
- $Revision: 7226 $
- Author:
- Julien Viet, Boleslaw Dawidowicz
-
Nested Class Summary
Nested classes/interfaces inherited from interface javax.portlet.PortletRequest
javax.portlet.PortletRequest.P3PUserInfos -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final PortletRequestAttributes.protected org.gatein.pc.api.spi.ClientContext.protected PortletContainerImpl.protected org.gatein.pc.api.invocation.PortletInvocation.protected static final org.exoplatform.services.log.Log.protected ContainerNavigationInfo.protected javax.portlet.PortalContext.protected javax.portlet.PortletPreferences.protected PortletSessionImpl.protected final PortletRequestParameterMap.protected org.gatein.pc.api.spi.SecurityContext.protected org.gatein.pc.api.spi.ServerContext.protected int.protected final Set<org.gatein.pc.api.Mode>.protected final Set<org.gatein.pc.api.WindowState>.protected org.gatein.pc.api.spi.UserContext.protected org.gatein.pc.api.spi.WindowContext.Fields inherited from interface javax.portlet.PortletRequest
ACTION_PHASE, ACTION_SCOPE_ID, BASIC_AUTH, CCPP_PROFILE, CLIENT_CERT_AUTH, DIGEST_AUTH, EVENT_PHASE, FORM_AUTH, LIFECYCLE_PHASE, RENDER_HEADERS, RENDER_MARKUP, RENDER_PART, RENDER_PHASE, RESOURCE_PHASE, USER_INFO -
Constructor Summary
ConstructorsConstructorDescriptionPortletRequestImpl(PortletContainerImpl container, org.gatein.pc.api.invocation.PortletInvocation invocation) -
Method Summary
Modifier and TypeMethodDescriptiongetAttribute(String name) javax.servlet.http.Cookie[]getParameter(String name) String[]getParameterValues(String name) javax.portlet.PortalContextjavax.portlet.PortletModejavax.portlet.PortletSessionjavax.portlet.PortletSessiongetPortletSession(boolean create) javax.portlet.PortletPreferencesgetProperties(String name) getProperty(String name) final javax.servlet.http.HttpServletRequestWrapperintjavax.portlet.WindowStateprotected voidinitProperties(org.gatein.common.util.MultiValuedPropertyMap<String> properties) booleanisPortletModeAllowed(javax.portlet.PortletMode portletMode) booleanbooleanisSecure()booleanisUserInRole(String roleName) booleanisWindowStateAllowed(javax.portlet.WindowState windowState) voidremoveAttribute(String name) voidsetAttribute(String name, Object value)
-
Field Details
-
log
protected static final org.exoplatform.services.log.Log log. -
invocation
protected org.gatein.pc.api.invocation.PortletInvocation invocation. -
clientContext
protected org.gatein.pc.api.spi.ClientContext clientContext. -
userContext
protected org.gatein.pc.api.spi.UserContext userContext. -
securityContext
protected org.gatein.pc.api.spi.SecurityContext securityContext. -
serverContext
protected org.gatein.pc.api.spi.ServerContext serverContext. -
windowContext
protected org.gatein.pc.api.spi.WindowContext windowContext. -
preferences
protected javax.portlet.PortletPreferences preferences. -
container
. -
portalContext
protected javax.portlet.PortalContext portalContext. -
psession
. -
sessionStatus
protected int sessionStatus. -
attributes
. -
requestParameterMap
. -
supportedModes
. -
supportedWindowStates
.
-
-
Constructor Details
-
PortletRequestImpl
public PortletRequestImpl(PortletContainerImpl container, org.gatein.pc.api.invocation.PortletInvocation invocation)
-
-
Method Details
-
getParameter
- Specified by:
getParameterin interfacejavax.portlet.PortletRequest
-
getParameterNames
- Specified by:
getParameterNamesin interfacejavax.portlet.PortletRequest
-
getParameterValues
- Specified by:
getParameterValuesin interfacejavax.portlet.PortletRequest
-
getParameterMap
- Specified by:
getParameterMapin interfacejavax.portlet.PortletRequest
-
getWindowState
public javax.portlet.WindowState getWindowState()- Specified by:
getWindowStatein interfacejavax.portlet.PortletRequest
-
getPortletMode
public javax.portlet.PortletMode getPortletMode()- Specified by:
getPortletModein interfacejavax.portlet.PortletRequest
-
getAttribute
- Specified by:
getAttributein interfacejavax.portlet.PortletRequest- Throws:
IllegalArgumentException
-
getAttributeNames
- Specified by:
getAttributeNamesin interfacejavax.portlet.PortletRequest
-
setAttribute
- Specified by:
setAttributein interfacejavax.portlet.PortletRequest
-
removeAttribute
- Specified by:
removeAttributein interfacejavax.portlet.PortletRequest
-
getProperty
- Specified by:
getPropertyin interfacejavax.portlet.PortletRequest
-
getProperties
- Specified by:
getPropertiesin interfacejavax.portlet.PortletRequest
-
getPropertyNames
- Specified by:
getPropertyNamesin interfacejavax.portlet.PortletRequest
-
getContextPath
- Specified by:
getContextPathin interfacejavax.portlet.PortletRequest
-
getAuthType
- Specified by:
getAuthTypein interfacejavax.portlet.PortletRequest
-
getRemoteUser
- Specified by:
getRemoteUserin interfacejavax.portlet.PortletRequest
-
getUserPrincipal
- Specified by:
getUserPrincipalin interfacejavax.portlet.PortletRequest
-
isUserInRole
- Specified by:
isUserInRolein interfacejavax.portlet.PortletRequest
-
isSecure
public boolean isSecure()- Specified by:
isSecurein interfacejavax.portlet.PortletRequest
-
getResponseContentType
- Specified by:
getResponseContentTypein interfacejavax.portlet.PortletRequest
-
getResponseContentTypes
- Specified by:
getResponseContentTypesin interfacejavax.portlet.PortletRequest
-
getLocale
- Specified by:
getLocalein interfacejavax.portlet.PortletRequest
-
isPortletModeAllowed
public boolean isPortletModeAllowed(javax.portlet.PortletMode portletMode) - Specified by:
isPortletModeAllowedin interfacejavax.portlet.PortletRequest
-
isWindowStateAllowed
public boolean isWindowStateAllowed(javax.portlet.WindowState windowState) - Specified by:
isWindowStateAllowedin interfacejavax.portlet.PortletRequest
-
getPortletSession
public javax.portlet.PortletSession getPortletSession()- Specified by:
getPortletSessionin interfacejavax.portlet.PortletRequest
-
getPortletSession
public javax.portlet.PortletSession getPortletSession(boolean create) - Specified by:
getPortletSessionin interfacejavax.portlet.PortletRequest
-
getPortalContext
public javax.portlet.PortalContext getPortalContext()- Specified by:
getPortalContextin interfacejavax.portlet.PortletRequest
-
getRequestedSessionId
- Specified by:
getRequestedSessionIdin interfacejavax.portlet.PortletRequest
-
isRequestedSessionIdValid
public boolean isRequestedSessionIdValid()- Specified by:
isRequestedSessionIdValidin interfacejavax.portlet.PortletRequest
-
getLocales
- Specified by:
getLocalesin interfacejavax.portlet.PortletRequest
-
getScheme
- Specified by:
getSchemein interfacejavax.portlet.PortletRequest
-
getServerName
- Specified by:
getServerNamein interfacejavax.portlet.PortletRequest
-
getServerPort
public int getServerPort()- Specified by:
getServerPortin interfacejavax.portlet.PortletRequest
-
getPreferences
public javax.portlet.PortletPreferences getPreferences()- Specified by:
getPreferencesin interfacejavax.portlet.PortletRequest
-
getAttributes
-
getWindowID
- Specified by:
getWindowIDin interfacejavax.portlet.PortletRequest
-
getCookies
public javax.servlet.http.Cookie[] getCookies()- Specified by:
getCookiesin interfacejavax.portlet.PortletRequest
-
getPrivateParameterMap
- Specified by:
getPrivateParameterMapin interfacejavax.portlet.PortletRequest
-
getPublicParameterMap
- Specified by:
getPublicParameterMapin interfacejavax.portlet.PortletRequest
-
getRealRequest
public final javax.servlet.http.HttpServletRequestWrapper getRealRequest() -
initProperties
-