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

public abstract class PortletRequestImpl extends Object implements javax.portlet.PortletRequest
PortletRequest implemention. The parameter implementation is left to subclasses that can implement it differently.
  • 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

      protected PortletContainerImpl container
      .
    • portalContext

      protected javax.portlet.PortalContext portalContext
      .
    • psession

      protected PortletSessionImpl psession
      .
    • sessionStatus

      protected int sessionStatus
      .
    • attributes

      protected final PortletRequestAttributes attributes
      .
    • requestParameterMap

      protected final PortletRequestParameterMap requestParameterMap
      .
    • supportedModes

      protected final Set<org.gatein.pc.api.Mode> supportedModes
      .
    • supportedWindowStates

      protected final Set<org.gatein.pc.api.WindowState> supportedWindowStates
      .
  • Constructor Details

    • PortletRequestImpl

      public PortletRequestImpl(PortletContainerImpl container, org.gatein.pc.api.invocation.PortletInvocation invocation)
  • Method Details

    • getParameter

      public String getParameter(String name)
      Specified by:
      getParameter in interface javax.portlet.PortletRequest
    • getParameterNames

      public Enumeration<String> getParameterNames()
      Specified by:
      getParameterNames in interface javax.portlet.PortletRequest
    • getParameterValues

      public String[] getParameterValues(String name)
      Specified by:
      getParameterValues in interface javax.portlet.PortletRequest
    • getParameterMap

      public Map<String,String[]> getParameterMap()
      Specified by:
      getParameterMap in interface javax.portlet.PortletRequest
    • getWindowState

      public javax.portlet.WindowState getWindowState()
      Specified by:
      getWindowState in interface javax.portlet.PortletRequest
    • getPortletMode

      public javax.portlet.PortletMode getPortletMode()
      Specified by:
      getPortletMode in interface javax.portlet.PortletRequest
    • getAttribute

      public Object getAttribute(String name) throws IllegalArgumentException
      Specified by:
      getAttribute in interface javax.portlet.PortletRequest
      Throws:
      IllegalArgumentException
    • getAttributeNames

      public Enumeration<String> getAttributeNames()
      Specified by:
      getAttributeNames in interface javax.portlet.PortletRequest
    • setAttribute

      public void setAttribute(String name, Object value)
      Specified by:
      setAttribute in interface javax.portlet.PortletRequest
    • removeAttribute

      public void removeAttribute(String name)
      Specified by:
      removeAttribute in interface javax.portlet.PortletRequest
    • getProperty

      public String getProperty(String name)
      Specified by:
      getProperty in interface javax.portlet.PortletRequest
    • getProperties

      public Enumeration<String> getProperties(String name)
      Specified by:
      getProperties in interface javax.portlet.PortletRequest
    • getPropertyNames

      public Enumeration<String> getPropertyNames()
      Specified by:
      getPropertyNames in interface javax.portlet.PortletRequest
    • getContextPath

      public String getContextPath()
      Specified by:
      getContextPath in interface javax.portlet.PortletRequest
    • getAuthType

      public String getAuthType()
      Specified by:
      getAuthType in interface javax.portlet.PortletRequest
    • getRemoteUser

      public String getRemoteUser()
      Specified by:
      getRemoteUser in interface javax.portlet.PortletRequest
    • getUserPrincipal

      public Principal getUserPrincipal()
      Specified by:
      getUserPrincipal in interface javax.portlet.PortletRequest
    • isUserInRole

      public boolean isUserInRole(String roleName)
      Specified by:
      isUserInRole in interface javax.portlet.PortletRequest
    • isSecure

      public boolean isSecure()
      Specified by:
      isSecure in interface javax.portlet.PortletRequest
    • getResponseContentType

      public String getResponseContentType()
      Specified by:
      getResponseContentType in interface javax.portlet.PortletRequest
    • getResponseContentTypes

      public Enumeration<String> getResponseContentTypes()
      Specified by:
      getResponseContentTypes in interface javax.portlet.PortletRequest
    • getLocale

      public Locale getLocale()
      Specified by:
      getLocale in interface javax.portlet.PortletRequest
    • isPortletModeAllowed

      public boolean isPortletModeAllowed(javax.portlet.PortletMode portletMode)
      Specified by:
      isPortletModeAllowed in interface javax.portlet.PortletRequest
    • isWindowStateAllowed

      public boolean isWindowStateAllowed(javax.portlet.WindowState windowState)
      Specified by:
      isWindowStateAllowed in interface javax.portlet.PortletRequest
    • getPortletSession

      public javax.portlet.PortletSession getPortletSession()
      Specified by:
      getPortletSession in interface javax.portlet.PortletRequest
    • getPortletSession

      public javax.portlet.PortletSession getPortletSession(boolean create)
      Specified by:
      getPortletSession in interface javax.portlet.PortletRequest
    • getPortalContext

      public javax.portlet.PortalContext getPortalContext()
      Specified by:
      getPortalContext in interface javax.portlet.PortletRequest
    • getRequestedSessionId

      public String getRequestedSessionId()
      Specified by:
      getRequestedSessionId in interface javax.portlet.PortletRequest
    • isRequestedSessionIdValid

      public boolean isRequestedSessionIdValid()
      Specified by:
      isRequestedSessionIdValid in interface javax.portlet.PortletRequest
    • getLocales

      public Enumeration<Locale> getLocales()
      Specified by:
      getLocales in interface javax.portlet.PortletRequest
    • getScheme

      public String getScheme()
      Specified by:
      getScheme in interface javax.portlet.PortletRequest
    • getServerName

      public String getServerName()
      Specified by:
      getServerName in interface javax.portlet.PortletRequest
    • getServerPort

      public int getServerPort()
      Specified by:
      getServerPort in interface javax.portlet.PortletRequest
    • getPreferences

      public javax.portlet.PortletPreferences getPreferences()
      Specified by:
      getPreferences in interface javax.portlet.PortletRequest
    • getAttributes

      public PortletRequestAttributes getAttributes()
    • getWindowID

      public String getWindowID()
      Specified by:
      getWindowID in interface javax.portlet.PortletRequest
    • getCookies

      public jakarta.servlet.http.Cookie[] getCookies()
      Specified by:
      getCookies in interface javax.portlet.PortletRequest
    • getPrivateParameterMap

      public Map<String,String[]> getPrivateParameterMap()
      Specified by:
      getPrivateParameterMap in interface javax.portlet.PortletRequest
    • getPublicParameterMap

      public Map<String,String[]> getPublicParameterMap()
      Specified by:
      getPublicParameterMap in interface javax.portlet.PortletRequest
    • getRealRequest

      public final jakarta.servlet.http.HttpServletRequestWrapper getRealRequest()
    • initProperties

      protected void initProperties(org.gatein.common.util.MultiValuedPropertyMap<String> properties)