Package com.liferay.portlet.internal
Class PortletRequestImpl
Object
com.liferay.portlet.internal.PortletRequestImpl
- All Implemented Interfaces:
com.liferay.portal.kernel.portlet.LiferayPortletRequest
,PortletRequest
,RenderState
- Direct Known Subclasses:
ClientDataRequestImpl
,EventRequestImpl
,RenderRequestImpl
public abstract class PortletRequestImpl
extends Object
implements com.liferay.portal.kernel.portlet.LiferayPortletRequest
- Author:
- Brian Wing Shun Chan, Brian Myunghun Kim, Sergey Ponomarev, Raymond Augé, Neil Griffin
-
Nested Class Summary
Nested classes/interfaces inherited from interface javax.portlet.PortletRequest
PortletRequest.P3PUserInfos
-
Field Summary
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, HEADER_PHASE, LIFECYCLE_PHASE, RENDER_HEADERS, RENDER_MARKUP, RENDER_PART, RENDER_PHASE, RESOURCE_PHASE, USER_INFO
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
cleanUp()
void
defineObjects
(PortletConfig portletConfig, PortletResponse portletResponse) getAttribute
(String name) javax.servlet.http.Cookie[]
getETag()
javax.servlet.http.HttpServletRequest
abstract String
javax.servlet.http.HttpServletRequest
getParameter
(String name) Deprecated.As of Judson (7.1.x)Deprecated.As of Judson (7.1.x)Deprecated.As of Judson (7.1.x)String[]
getParameterValues
(String name) Deprecated.As of Judson (7.1.x)long
getPlid()
com.liferay.portal.kernel.model.Portlet
javax.servlet.http.HttpServletRequest
getPortletSession
(boolean create) protected int
Deprecated.As of Judson (7.1.x)getProperties
(String name) getProperty
(String name) Deprecated.As of Judson (7.1.x)int
void
init
(javax.servlet.http.HttpServletRequest httpServletRequest, com.liferay.portal.kernel.model.Portlet portlet, com.liferay.portal.kernel.portlet.InvokerPortlet invokerPortlet, PortletContext portletContext, WindowState windowState, PortletMode portletMode, PortletPreferences portletPreferences, long plid) void
boolean
isPortletModeAllowed
(PortletMode portletMode) boolean
boolean
isSecure()
boolean
boolean
isUserInRole
(String role) boolean
isWindowStateAllowed
(WindowState windowState) void
removeAttribute
(String name) void
setAttribute
(String name, Object object) void
setPortletMode
(PortletMode portletMode) void
setPortletRequestDispatcherRequest
(javax.servlet.http.HttpServletRequest httpServletRequest) void
setWindowState
(WindowState windowState)
-
Constructor Details
-
PortletRequestImpl
public PortletRequestImpl()
-
-
Method Details
-
cleanUp
public void cleanUp()- Specified by:
cleanUp
in interfacecom.liferay.portal.kernel.portlet.LiferayPortletRequest
-
clearRenderParameters
- Specified by:
clearRenderParameters
in interfacecom.liferay.portal.kernel.portlet.LiferayPortletRequest
-
defineObjects
- Specified by:
defineObjects
in interfacecom.liferay.portal.kernel.portlet.LiferayPortletRequest
-
getAttribute
- Specified by:
getAttribute
in interfacePortletRequest
-
getAttributeNames
- Specified by:
getAttributeNames
in interfacePortletRequest
-
getAuthType
- Specified by:
getAuthType
in interfacePortletRequest
-
getCCPPProfile
-
getContextPath
- Specified by:
getContextPath
in interfacePortletRequest
-
getCookies
public javax.servlet.http.Cookie[] getCookies()- Specified by:
getCookies
in interfacePortletRequest
-
getETag
-
getHttpServletRequest
public javax.servlet.http.HttpServletRequest getHttpServletRequest()- Specified by:
getHttpServletRequest
in interfacecom.liferay.portal.kernel.portlet.LiferayPortletRequest
-
getLifecycle
- Specified by:
getLifecycle
in interfacecom.liferay.portal.kernel.portlet.LiferayPortletRequest
-
getLocale
- Specified by:
getLocale
in interfacePortletRequest
-
getLocales
- Specified by:
getLocales
in interfacePortletRequest
-
getMethod
-
getOriginalHttpServletRequest
public javax.servlet.http.HttpServletRequest getOriginalHttpServletRequest()- Specified by:
getOriginalHttpServletRequest
in interfacecom.liferay.portal.kernel.portlet.LiferayPortletRequest
-
getParameter
Deprecated.As of Judson (7.1.x)- Specified by:
getParameter
in interfacePortletRequest
-
getParameterMap
Deprecated.As of Judson (7.1.x)- Specified by:
getParameterMap
in interfacePortletRequest
-
getParameterNames
Deprecated.As of Judson (7.1.x)- Specified by:
getParameterNames
in interfacePortletRequest
-
getParameterValues
Deprecated.As of Judson (7.1.x)- Specified by:
getParameterValues
in interfacePortletRequest
-
getPlid
public long getPlid()- Specified by:
getPlid
in interfacecom.liferay.portal.kernel.portlet.LiferayPortletRequest
-
getPortalContext
- Specified by:
getPortalContext
in interfacePortletRequest
-
getPortlet
public com.liferay.portal.kernel.model.Portlet getPortlet()- Specified by:
getPortlet
in interfacecom.liferay.portal.kernel.portlet.LiferayPortletRequest
-
getPortletContext
- Specified by:
getPortletContext
in interfacePortletRequest
-
getPortletMode
- Specified by:
getPortletMode
in interfaceRenderState
-
getPortletName
- Specified by:
getPortletName
in interfacecom.liferay.portal.kernel.portlet.LiferayPortletRequest
-
getPortletRequestDispatcherRequest
public javax.servlet.http.HttpServletRequest getPortletRequestDispatcherRequest()- Specified by:
getPortletRequestDispatcherRequest
in interfacecom.liferay.portal.kernel.portlet.LiferayPortletRequest
-
getPortletSession
- Specified by:
getPortletSession
in interfacePortletRequest
-
getPortletSession
- Specified by:
getPortletSession
in interfacePortletRequest
-
getPreferences
- Specified by:
getPreferences
in interfacePortletRequest
-
getPreferencesImpl
-
getPrivateParameterMap
Deprecated.As of Judson (7.1.x)- Specified by:
getPrivateParameterMap
in interfacePortletRequest
-
getProperties
- Specified by:
getProperties
in interfacePortletRequest
-
getProperty
- Specified by:
getProperty
in interfacePortletRequest
-
getPropertyNames
- Specified by:
getPropertyNames
in interfacePortletRequest
-
getPublicParameterMap
Deprecated.As of Judson (7.1.x)- Specified by:
getPublicParameterMap
in interfacePortletRequest
-
getRemoteUser
- Specified by:
getRemoteUser
in interfacePortletRequest
-
getRenderParameters
- Specified by:
getRenderParameters
in interfaceRenderState
-
getRequestedSessionId
- Specified by:
getRequestedSessionId
in interfacePortletRequest
-
getResponseContentType
- Specified by:
getResponseContentType
in interfacePortletRequest
-
getResponseContentTypes
- Specified by:
getResponseContentTypes
in interfacePortletRequest
-
getScheme
- Specified by:
getScheme
in interfacePortletRequest
-
getServerName
- Specified by:
getServerName
in interfacePortletRequest
-
getServerPort
public int getServerPort()- Specified by:
getServerPort
in interfacePortletRequest
-
getUserAgent
- Specified by:
getUserAgent
in interfacePortletRequest
-
getUserInfo
-
getUserPrincipal
- Specified by:
getUserPrincipal
in interfacePortletRequest
-
getWindowID
- Specified by:
getWindowID
in interfacePortletRequest
-
getWindowState
- Specified by:
getWindowState
in interfaceRenderState
-
init
public void init(javax.servlet.http.HttpServletRequest httpServletRequest, com.liferay.portal.kernel.model.Portlet portlet, com.liferay.portal.kernel.portlet.InvokerPortlet invokerPortlet, PortletContext portletContext, WindowState windowState, PortletMode portletMode, PortletPreferences portletPreferences, long plid) -
invalidateSession
public void invalidateSession()- Specified by:
invalidateSession
in interfacecom.liferay.portal.kernel.portlet.LiferayPortletRequest
-
isPortletModeAllowed
- Specified by:
isPortletModeAllowed
in interfacePortletRequest
-
isRequestedSessionIdValid
public boolean isRequestedSessionIdValid()- Specified by:
isRequestedSessionIdValid
in interfacePortletRequest
-
isSecure
public boolean isSecure()- Specified by:
isSecure
in interfacePortletRequest
-
isTriggeredByActionURL
public boolean isTriggeredByActionURL() -
isUserInRole
- Specified by:
isUserInRole
in interfacePortletRequest
-
isWindowStateAllowed
- Specified by:
isWindowStateAllowed
in interfacePortletRequest
-
removeAttribute
- Specified by:
removeAttribute
in interfacePortletRequest
-
setAttribute
- Specified by:
setAttribute
in interfacePortletRequest
-
setPortletMode
-
setPortletRequestDispatcherRequest
public void setPortletRequestDispatcherRequest(javax.servlet.http.HttpServletRequest httpServletRequest) - Specified by:
setPortletRequestDispatcherRequest
in interfacecom.liferay.portal.kernel.portlet.LiferayPortletRequest
-
setWindowState
-
getPortletSpecMajorVersion
protected int getPortletSpecMajorVersion()
-