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 TypeMethodDescriptionvoidcleanUp()voiddefineObjects(PortletConfig portletConfig, PortletResponse portletResponse) getAttribute(String name) javax.servlet.http.Cookie[]getETag()javax.servlet.http.HttpServletRequestabstract Stringjavax.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()com.liferay.portal.kernel.model.Portletjavax.servlet.http.HttpServletRequestgetPortletSession(boolean create) protected intDeprecated.As of Judson (7.1.x)getProperties(String name) getProperty(String name) Deprecated.As of Judson (7.1.x)intvoidinit(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) voidbooleanisPortletModeAllowed(PortletMode portletMode) booleanbooleanisSecure()booleanbooleanisUserInRole(String role) booleanisWindowStateAllowed(WindowState windowState) voidremoveAttribute(String name) voidsetAttribute(String name, Object object) voidsetPortletMode(PortletMode portletMode) voidsetPortletRequestDispatcherRequest(javax.servlet.http.HttpServletRequest httpServletRequest) voidsetWindowState(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
- Specified by:
defineObjectsin interfacecom.liferay.portal.kernel.portlet.LiferayPortletRequest
-
getAttribute
- Specified by:
getAttributein interfacePortletRequest
-
getAttributeNames
- Specified by:
getAttributeNamesin interfacePortletRequest
-
getAuthType
- Specified by:
getAuthTypein interfacePortletRequest
-
getCCPPProfile
-
getContextPath
- Specified by:
getContextPathin interfacePortletRequest
-
getCookies
public javax.servlet.http.Cookie[] getCookies()- Specified by:
getCookiesin interfacePortletRequest
-
getETag
-
getHttpServletRequest
public javax.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 interfacePortletRequest
-
getLocales
- Specified by:
getLocalesin interfacePortletRequest
-
getMethod
-
getOriginalHttpServletRequest
public javax.servlet.http.HttpServletRequest getOriginalHttpServletRequest()- Specified by:
getOriginalHttpServletRequestin interfacecom.liferay.portal.kernel.portlet.LiferayPortletRequest
-
getParameter
Deprecated.As of Judson (7.1.x)- Specified by:
getParameterin interfacePortletRequest
-
getParameterMap
Deprecated.As of Judson (7.1.x)- Specified by:
getParameterMapin interfacePortletRequest
-
getParameterNames
Deprecated.As of Judson (7.1.x)- Specified by:
getParameterNamesin interfacePortletRequest
-
getParameterValues
Deprecated.As of Judson (7.1.x)- Specified by:
getParameterValuesin interfacePortletRequest
-
getPlid
public long getPlid()- Specified by:
getPlidin interfacecom.liferay.portal.kernel.portlet.LiferayPortletRequest
-
getPortalContext
- Specified by:
getPortalContextin interfacePortletRequest
-
getPortlet
public com.liferay.portal.kernel.model.Portlet getPortlet()- Specified by:
getPortletin interfacecom.liferay.portal.kernel.portlet.LiferayPortletRequest
-
getPortletContext
- Specified by:
getPortletContextin interfacePortletRequest
-
getPortletMode
- Specified by:
getPortletModein interfaceRenderState
-
getPortletName
- Specified by:
getPortletNamein interfacecom.liferay.portal.kernel.portlet.LiferayPortletRequest
-
getPortletRequestDispatcherRequest
public javax.servlet.http.HttpServletRequest getPortletRequestDispatcherRequest()- Specified by:
getPortletRequestDispatcherRequestin interfacecom.liferay.portal.kernel.portlet.LiferayPortletRequest
-
getPortletSession
- Specified by:
getPortletSessionin interfacePortletRequest
-
getPortletSession
- Specified by:
getPortletSessionin interfacePortletRequest
-
getPreferences
- Specified by:
getPreferencesin interfacePortletRequest
-
getPreferencesImpl
-
getPrivateParameterMap
Deprecated.As of Judson (7.1.x)- Specified by:
getPrivateParameterMapin interfacePortletRequest
-
getProperties
- Specified by:
getPropertiesin interfacePortletRequest
-
getProperty
- Specified by:
getPropertyin interfacePortletRequest
-
getPropertyNames
- Specified by:
getPropertyNamesin interfacePortletRequest
-
getPublicParameterMap
Deprecated.As of Judson (7.1.x)- Specified by:
getPublicParameterMapin interfacePortletRequest
-
getRemoteUser
- Specified by:
getRemoteUserin interfacePortletRequest
-
getRenderParameters
- Specified by:
getRenderParametersin interfaceRenderState
-
getRequestedSessionId
- Specified by:
getRequestedSessionIdin interfacePortletRequest
-
getResponseContentType
- Specified by:
getResponseContentTypein interfacePortletRequest
-
getResponseContentTypes
- Specified by:
getResponseContentTypesin interfacePortletRequest
-
getScheme
- Specified by:
getSchemein interfacePortletRequest
-
getServerName
- Specified by:
getServerNamein interfacePortletRequest
-
getServerPort
public int getServerPort()- Specified by:
getServerPortin interfacePortletRequest
-
getUserAgent
- Specified by:
getUserAgentin interfacePortletRequest
-
getUserInfo
-
getUserPrincipal
- Specified by:
getUserPrincipalin interfacePortletRequest
-
getWindowID
- Specified by:
getWindowIDin interfacePortletRequest
-
getWindowState
- Specified by:
getWindowStatein 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:
invalidateSessionin interfacecom.liferay.portal.kernel.portlet.LiferayPortletRequest
-
isPortletModeAllowed
- Specified by:
isPortletModeAllowedin interfacePortletRequest
-
isRequestedSessionIdValid
public boolean isRequestedSessionIdValid()- Specified by:
isRequestedSessionIdValidin interfacePortletRequest
-
isSecure
public boolean isSecure()- Specified by:
isSecurein interfacePortletRequest
-
isTriggeredByActionURL
public boolean isTriggeredByActionURL() -
isUserInRole
- Specified by:
isUserInRolein interfacePortletRequest
-
isWindowStateAllowed
- Specified by:
isWindowStateAllowedin interfacePortletRequest
-
removeAttribute
- Specified by:
removeAttributein interfacePortletRequest
-
setAttribute
- Specified by:
setAttributein interfacePortletRequest
-
setPortletMode
-
setPortletRequestDispatcherRequest
public void setPortletRequestDispatcherRequest(javax.servlet.http.HttpServletRequest httpServletRequest) - Specified by:
setPortletRequestDispatcherRequestin interfacecom.liferay.portal.kernel.portlet.LiferayPortletRequest
-
setWindowState
-
getPortletSpecMajorVersion
protected int getPortletSpecMajorVersion()
-