Package com.liferay.portlet.internal
Class PortletRequestImpl
Object
com.liferay.portlet.internal.PortletRequestImpl
- All Implemented Interfaces:
com.liferay.portal.kernel.portlet.LiferayPortletRequest,jakarta.portlet.PortletRequest,jakarta.portlet.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 jakarta.portlet.PortletRequest
jakarta.portlet.PortletRequest.P3PUserInfos -
Field Summary
Fields inherited from interface jakarta.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 TypeMethodDescriptionvoidcleanUp()voiddefineObjects(jakarta.portlet.PortletConfig portletConfig, jakarta.portlet.PortletResponse portletResponse) getAttribute(String name) jakarta.servlet.http.Cookie[]getETag()jakarta.servlet.http.HttpServletRequestabstract Stringjakarta.servlet.http.HttpServletRequestgetParameter(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)longgetPlid()jakarta.portlet.PortalContextcom.liferay.portal.kernel.model.Portletjakarta.portlet.PortletContextjakarta.portlet.PortletModejakarta.servlet.http.HttpServletRequestjakarta.portlet.PortletSessionjakarta.portlet.PortletSessiongetPortletSession(boolean create) protected intjakarta.portlet.PortletPreferencesDeprecated.As of Judson (7.1.x)getProperties(String name) getProperty(String name) Deprecated.As of Judson (7.1.x)jakarta.portlet.RenderParametersintjakarta.portlet.WindowStatevoidinit(jakarta.servlet.http.HttpServletRequest httpServletRequest, com.liferay.portal.kernel.model.Portlet portlet, com.liferay.portal.kernel.portlet.InvokerPortlet invokerPortlet, jakarta.portlet.PortletContext portletContext, jakarta.portlet.WindowState windowState, jakarta.portlet.PortletMode portletMode, jakarta.portlet.PortletPreferences portletPreferences, long plid) voidbooleanisPortletModeAllowed(jakarta.portlet.PortletMode portletMode) booleanbooleanisSecure()booleanbooleanisUserInRole(String role) booleanisWindowStateAllowed(jakarta.portlet.WindowState windowState) voidremoveAttribute(String name) voidsetAttribute(String name, Object object) voidsetPortletMode(jakarta.portlet.PortletMode portletMode) voidsetPortletRequestDispatcherRequest(jakarta.servlet.http.HttpServletRequest httpServletRequest) voidsetWindowState(jakarta.portlet.WindowState windowState)
-
Constructor Details
-
PortletRequestImpl
public PortletRequestImpl()
-
-
Method Details
-
cleanUp
public void cleanUp()- Specified by:
cleanUpin interfacecom.liferay.portal.kernel.portlet.LiferayPortletRequest
-
clearRenderParameters
- Specified by:
clearRenderParametersin interfacecom.liferay.portal.kernel.portlet.LiferayPortletRequest
-
defineObjects
public void defineObjects(jakarta.portlet.PortletConfig portletConfig, jakarta.portlet.PortletResponse portletResponse) - Specified by:
defineObjectsin interfacecom.liferay.portal.kernel.portlet.LiferayPortletRequest
-
getAttribute
- Specified by:
getAttributein interfacejakarta.portlet.PortletRequest
-
getAttributeNames
- Specified by:
getAttributeNamesin interfacejakarta.portlet.PortletRequest
-
getAuthType
- Specified by:
getAuthTypein interfacejakarta.portlet.PortletRequest
-
getCCPPProfile
-
getContextPath
- Specified by:
getContextPathin interfacejakarta.portlet.PortletRequest
-
getCookies
public jakarta.servlet.http.Cookie[] getCookies()- Specified by:
getCookiesin interfacejakarta.portlet.PortletRequest
-
getETag
-
getHttpServletRequest
public jakarta.servlet.http.HttpServletRequest getHttpServletRequest()- Specified by:
getHttpServletRequestin interfacecom.liferay.portal.kernel.portlet.LiferayPortletRequest
-
getLifecycle
- Specified by:
getLifecyclein interfacecom.liferay.portal.kernel.portlet.LiferayPortletRequest
-
getLocale
- Specified by:
getLocalein interfacejakarta.portlet.PortletRequest
-
getLocales
- Specified by:
getLocalesin interfacejakarta.portlet.PortletRequest
-
getMethod
-
getOriginalHttpServletRequest
public jakarta.servlet.http.HttpServletRequest getOriginalHttpServletRequest()- Specified by:
getOriginalHttpServletRequestin interfacecom.liferay.portal.kernel.portlet.LiferayPortletRequest
-
getParameter
Deprecated.As of Judson (7.1.x)- Specified by:
getParameterin interfacejakarta.portlet.PortletRequest
-
getParameterMap
Deprecated.As of Judson (7.1.x)- Specified by:
getParameterMapin interfacejakarta.portlet.PortletRequest
-
getParameterNames
Deprecated.As of Judson (7.1.x)- Specified by:
getParameterNamesin interfacejakarta.portlet.PortletRequest
-
getParameterValues
Deprecated.As of Judson (7.1.x)- Specified by:
getParameterValuesin interfacejakarta.portlet.PortletRequest
-
getPlid
public long getPlid()- Specified by:
getPlidin interfacecom.liferay.portal.kernel.portlet.LiferayPortletRequest
-
getPortalContext
public jakarta.portlet.PortalContext getPortalContext()- Specified by:
getPortalContextin interfacejakarta.portlet.PortletRequest
-
getPortlet
public com.liferay.portal.kernel.model.Portlet getPortlet()- Specified by:
getPortletin interfacecom.liferay.portal.kernel.portlet.LiferayPortletRequest
-
getPortletContext
public jakarta.portlet.PortletContext getPortletContext()- Specified by:
getPortletContextin interfacejakarta.portlet.PortletRequest
-
getPortletMode
public jakarta.portlet.PortletMode getPortletMode()- Specified by:
getPortletModein interfacejakarta.portlet.RenderState
-
getPortletName
- Specified by:
getPortletNamein interfacecom.liferay.portal.kernel.portlet.LiferayPortletRequest
-
getPortletRequestDispatcherRequest
public jakarta.servlet.http.HttpServletRequest getPortletRequestDispatcherRequest()- Specified by:
getPortletRequestDispatcherRequestin interfacecom.liferay.portal.kernel.portlet.LiferayPortletRequest
-
getPortletSession
public jakarta.portlet.PortletSession getPortletSession()- Specified by:
getPortletSessionin interfacejakarta.portlet.PortletRequest
-
getPortletSession
public jakarta.portlet.PortletSession getPortletSession(boolean create) - Specified by:
getPortletSessionin interfacejakarta.portlet.PortletRequest
-
getPreferences
public jakarta.portlet.PortletPreferences getPreferences()- Specified by:
getPreferencesin interfacejakarta.portlet.PortletRequest
-
getPreferencesImpl
-
getPrivateParameterMap
Deprecated.As of Judson (7.1.x)- Specified by:
getPrivateParameterMapin interfacejakarta.portlet.PortletRequest
-
getProperties
- Specified by:
getPropertiesin interfacejakarta.portlet.PortletRequest
-
getProperty
- Specified by:
getPropertyin interfacejakarta.portlet.PortletRequest
-
getPropertyNames
- Specified by:
getPropertyNamesin interfacejakarta.portlet.PortletRequest
-
getPublicParameterMap
Deprecated.As of Judson (7.1.x)- Specified by:
getPublicParameterMapin interfacejakarta.portlet.PortletRequest
-
getRemoteUser
- Specified by:
getRemoteUserin interfacejakarta.portlet.PortletRequest
-
getRenderParameters
public jakarta.portlet.RenderParameters getRenderParameters()- Specified by:
getRenderParametersin interfacejakarta.portlet.RenderState
-
getRequestedSessionId
- Specified by:
getRequestedSessionIdin interfacejakarta.portlet.PortletRequest
-
getResponseContentType
- Specified by:
getResponseContentTypein interfacejakarta.portlet.PortletRequest
-
getResponseContentTypes
- Specified by:
getResponseContentTypesin interfacejakarta.portlet.PortletRequest
-
getScheme
- Specified by:
getSchemein interfacejakarta.portlet.PortletRequest
-
getServerName
- Specified by:
getServerNamein interfacejakarta.portlet.PortletRequest
-
getServerPort
public int getServerPort()- Specified by:
getServerPortin interfacejakarta.portlet.PortletRequest
-
getUserAgent
- Specified by:
getUserAgentin interfacejakarta.portlet.PortletRequest
-
getUserInfo
-
getUserPrincipal
- Specified by:
getUserPrincipalin interfacejakarta.portlet.PortletRequest
-
getWindowID
- Specified by:
getWindowIDin interfacejakarta.portlet.PortletRequest
-
getWindowState
public jakarta.portlet.WindowState getWindowState()- Specified by:
getWindowStatein interfacejakarta.portlet.RenderState
-
init
public void init(jakarta.servlet.http.HttpServletRequest httpServletRequest, com.liferay.portal.kernel.model.Portlet portlet, com.liferay.portal.kernel.portlet.InvokerPortlet invokerPortlet, jakarta.portlet.PortletContext portletContext, jakarta.portlet.WindowState windowState, jakarta.portlet.PortletMode portletMode, jakarta.portlet.PortletPreferences portletPreferences, long plid) -
invalidateSession
public void invalidateSession()- Specified by:
invalidateSessionin interfacecom.liferay.portal.kernel.portlet.LiferayPortletRequest
-
isPortletModeAllowed
public boolean isPortletModeAllowed(jakarta.portlet.PortletMode portletMode) - Specified by:
isPortletModeAllowedin interfacejakarta.portlet.PortletRequest
-
isRequestedSessionIdValid
public boolean isRequestedSessionIdValid()- Specified by:
isRequestedSessionIdValidin interfacejakarta.portlet.PortletRequest
-
isSecure
public boolean isSecure()- Specified by:
isSecurein interfacejakarta.portlet.PortletRequest
-
isTriggeredByActionURL
public boolean isTriggeredByActionURL() -
isUserInRole
- Specified by:
isUserInRolein interfacejakarta.portlet.PortletRequest
-
isWindowStateAllowed
public boolean isWindowStateAllowed(jakarta.portlet.WindowState windowState) - Specified by:
isWindowStateAllowedin interfacejakarta.portlet.PortletRequest
-
removeAttribute
- Specified by:
removeAttributein interfacejakarta.portlet.PortletRequest
-
setAttribute
- Specified by:
setAttributein interfacejakarta.portlet.PortletRequest
-
setPortletMode
public void setPortletMode(jakarta.portlet.PortletMode portletMode) -
setPortletRequestDispatcherRequest
public void setPortletRequestDispatcherRequest(jakarta.servlet.http.HttpServletRequest httpServletRequest) - Specified by:
setPortletRequestDispatcherRequestin interfacecom.liferay.portal.kernel.portlet.LiferayPortletRequest
-
setWindowState
public void setWindowState(jakarta.portlet.WindowState windowState) -
getPortletSpecMajorVersion
protected int getPortletSpecMajorVersion()
-