public abstract class PortletRequestImpl
extends Object
implements com.liferay.portal.kernel.portlet.LiferayPortletRequest
Constructor and Description |
---|
PortletRequestImpl() |
Modifier and Type | Method and Description |
---|---|
void |
cleanUp() |
Map<String,String[]> |
clearRenderParameters() |
void |
defineObjects(javax.portlet.PortletConfig portletConfig,
javax.portlet.PortletResponse portletResponse) |
Object |
getAttribute(String name) |
Enumeration<String> |
getAttributeNames() |
String |
getAuthType() |
Object |
getCCPPProfile() |
String |
getContextPath() |
javax.servlet.http.Cookie[] |
getCookies() |
String |
getETag() |
javax.servlet.http.HttpServletRequest |
getHttpServletRequest() |
abstract String |
getLifecycle() |
Locale |
getLocale() |
Enumeration<Locale> |
getLocales() |
String |
getMethod() |
javax.servlet.http.HttpServletRequest |
getOriginalHttpServletRequest() |
String |
getParameter(String name)
Deprecated.
As of Judson (7.1.x)
|
Map<String,String[]> |
getParameterMap()
Deprecated.
As of Judson (7.1.x)
|
Enumeration<String> |
getParameterNames()
Deprecated.
As of Judson (7.1.x)
|
String[] |
getParameterValues(String name)
Deprecated.
As of Judson (7.1.x)
|
long |
getPlid() |
javax.portlet.PortalContext |
getPortalContext() |
com.liferay.portal.kernel.model.Portlet |
getPortlet() |
javax.portlet.PortletContext |
getPortletContext() |
javax.portlet.PortletMode |
getPortletMode() |
String |
getPortletName() |
javax.servlet.http.HttpServletRequest |
getPortletRequestDispatcherRequest() |
javax.portlet.PortletSession |
getPortletSession() |
javax.portlet.PortletSession |
getPortletSession(boolean create) |
protected int |
getPortletSpecMajorVersion() |
javax.portlet.PortletPreferences |
getPreferences() |
PortletPreferencesImpl |
getPreferencesImpl() |
Map<String,String[]> |
getPrivateParameterMap()
Deprecated.
As of Judson (7.1.x)
|
Enumeration<String> |
getProperties(String name) |
String |
getProperty(String name) |
Enumeration<String> |
getPropertyNames() |
Map<String,String[]> |
getPublicParameterMap()
Deprecated.
As of Judson (7.1.x)
|
String |
getRemoteUser() |
javax.portlet.RenderParameters |
getRenderParameters() |
String |
getRequestedSessionId() |
String |
getResponseContentType() |
Enumeration<String> |
getResponseContentTypes() |
String |
getScheme() |
String |
getServerName() |
int |
getServerPort() |
String |
getUserAgent() |
LinkedHashMap<String,String> |
getUserInfo() |
Principal |
getUserPrincipal() |
String |
getWindowID() |
javax.portlet.WindowState |
getWindowState() |
void |
init(javax.servlet.http.HttpServletRequest httpServletRequest,
com.liferay.portal.kernel.model.Portlet portlet,
com.liferay.portal.kernel.portlet.InvokerPortlet invokerPortlet,
javax.portlet.PortletContext portletContext,
javax.portlet.WindowState windowState,
javax.portlet.PortletMode portletMode,
javax.portlet.PortletPreferences preferences,
long plid) |
void |
invalidateSession() |
boolean |
isPortletModeAllowed(javax.portlet.PortletMode portletMode) |
boolean |
isRequestedSessionIdValid() |
boolean |
isSecure() |
boolean |
isTriggeredByActionURL() |
boolean |
isUserInRole(String role) |
boolean |
isWindowStateAllowed(javax.portlet.WindowState windowState) |
void |
removeAttribute(String name) |
void |
setAttribute(String name,
Object object) |
void |
setPortletMode(javax.portlet.PortletMode portletMode) |
void |
setPortletRequestDispatcherRequest(javax.servlet.http.HttpServletRequest httpServletRequest) |
void |
setWindowState(javax.portlet.WindowState windowState) |
public void cleanUp()
cleanUp
in interface com.liferay.portal.kernel.portlet.LiferayPortletRequest
public Map<String,String[]> clearRenderParameters()
clearRenderParameters
in interface com.liferay.portal.kernel.portlet.LiferayPortletRequest
public void defineObjects(javax.portlet.PortletConfig portletConfig, javax.portlet.PortletResponse portletResponse)
defineObjects
in interface com.liferay.portal.kernel.portlet.LiferayPortletRequest
public Object getAttribute(String name)
getAttribute
in interface javax.portlet.PortletRequest
public Enumeration<String> getAttributeNames()
getAttributeNames
in interface javax.portlet.PortletRequest
public String getAuthType()
getAuthType
in interface javax.portlet.PortletRequest
public Object getCCPPProfile()
public String getContextPath()
getContextPath
in interface javax.portlet.PortletRequest
public javax.servlet.http.Cookie[] getCookies()
getCookies
in interface javax.portlet.PortletRequest
public String getETag()
public javax.servlet.http.HttpServletRequest getHttpServletRequest()
getHttpServletRequest
in interface com.liferay.portal.kernel.portlet.LiferayPortletRequest
public abstract String getLifecycle()
getLifecycle
in interface com.liferay.portal.kernel.portlet.LiferayPortletRequest
public Locale getLocale()
getLocale
in interface javax.portlet.PortletRequest
public Enumeration<Locale> getLocales()
getLocales
in interface javax.portlet.PortletRequest
public String getMethod()
public javax.servlet.http.HttpServletRequest getOriginalHttpServletRequest()
getOriginalHttpServletRequest
in interface com.liferay.portal.kernel.portlet.LiferayPortletRequest
@Deprecated public String getParameter(String name)
getParameter
in interface javax.portlet.PortletRequest
@Deprecated public Map<String,String[]> getParameterMap()
getParameterMap
in interface javax.portlet.PortletRequest
@Deprecated public Enumeration<String> getParameterNames()
getParameterNames
in interface javax.portlet.PortletRequest
@Deprecated public String[] getParameterValues(String name)
getParameterValues
in interface javax.portlet.PortletRequest
public long getPlid()
getPlid
in interface com.liferay.portal.kernel.portlet.LiferayPortletRequest
public javax.portlet.PortalContext getPortalContext()
getPortalContext
in interface javax.portlet.PortletRequest
public com.liferay.portal.kernel.model.Portlet getPortlet()
getPortlet
in interface com.liferay.portal.kernel.portlet.LiferayPortletRequest
public javax.portlet.PortletContext getPortletContext()
getPortletContext
in interface javax.portlet.PortletRequest
public javax.portlet.PortletMode getPortletMode()
getPortletMode
in interface javax.portlet.RenderState
public String getPortletName()
getPortletName
in interface com.liferay.portal.kernel.portlet.LiferayPortletRequest
public javax.servlet.http.HttpServletRequest getPortletRequestDispatcherRequest()
getPortletRequestDispatcherRequest
in interface com.liferay.portal.kernel.portlet.LiferayPortletRequest
public javax.portlet.PortletSession getPortletSession()
getPortletSession
in interface javax.portlet.PortletRequest
public javax.portlet.PortletSession getPortletSession(boolean create)
getPortletSession
in interface javax.portlet.PortletRequest
public javax.portlet.PortletPreferences getPreferences()
getPreferences
in interface javax.portlet.PortletRequest
public PortletPreferencesImpl getPreferencesImpl()
@Deprecated public Map<String,String[]> getPrivateParameterMap()
getPrivateParameterMap
in interface javax.portlet.PortletRequest
public Enumeration<String> getProperties(String name)
getProperties
in interface javax.portlet.PortletRequest
public String getProperty(String name)
getProperty
in interface javax.portlet.PortletRequest
public Enumeration<String> getPropertyNames()
getPropertyNames
in interface javax.portlet.PortletRequest
@Deprecated public Map<String,String[]> getPublicParameterMap()
getPublicParameterMap
in interface javax.portlet.PortletRequest
public String getRemoteUser()
getRemoteUser
in interface javax.portlet.PortletRequest
public javax.portlet.RenderParameters getRenderParameters()
getRenderParameters
in interface javax.portlet.RenderState
public String getRequestedSessionId()
getRequestedSessionId
in interface javax.portlet.PortletRequest
public String getResponseContentType()
getResponseContentType
in interface javax.portlet.PortletRequest
public Enumeration<String> getResponseContentTypes()
getResponseContentTypes
in interface javax.portlet.PortletRequest
public String getScheme()
getScheme
in interface javax.portlet.PortletRequest
public String getServerName()
getServerName
in interface javax.portlet.PortletRequest
public int getServerPort()
getServerPort
in interface javax.portlet.PortletRequest
public String getUserAgent()
getUserAgent
in interface javax.portlet.PortletRequest
public LinkedHashMap<String,String> getUserInfo()
public Principal getUserPrincipal()
getUserPrincipal
in interface javax.portlet.PortletRequest
public String getWindowID()
getWindowID
in interface javax.portlet.PortletRequest
public javax.portlet.WindowState getWindowState()
getWindowState
in interface javax.portlet.RenderState
public void init(javax.servlet.http.HttpServletRequest httpServletRequest, com.liferay.portal.kernel.model.Portlet portlet, com.liferay.portal.kernel.portlet.InvokerPortlet invokerPortlet, javax.portlet.PortletContext portletContext, javax.portlet.WindowState windowState, javax.portlet.PortletMode portletMode, javax.portlet.PortletPreferences preferences, long plid)
public void invalidateSession()
invalidateSession
in interface com.liferay.portal.kernel.portlet.LiferayPortletRequest
public boolean isPortletModeAllowed(javax.portlet.PortletMode portletMode)
isPortletModeAllowed
in interface javax.portlet.PortletRequest
public boolean isRequestedSessionIdValid()
isRequestedSessionIdValid
in interface javax.portlet.PortletRequest
public boolean isSecure()
isSecure
in interface javax.portlet.PortletRequest
public boolean isTriggeredByActionURL()
public boolean isUserInRole(String role)
isUserInRole
in interface javax.portlet.PortletRequest
public boolean isWindowStateAllowed(javax.portlet.WindowState windowState)
isWindowStateAllowed
in interface javax.portlet.PortletRequest
public void removeAttribute(String name)
removeAttribute
in interface javax.portlet.PortletRequest
public void setAttribute(String name, Object object)
setAttribute
in interface javax.portlet.PortletRequest
public void setPortletMode(javax.portlet.PortletMode portletMode)
public void setPortletRequestDispatcherRequest(javax.servlet.http.HttpServletRequest httpServletRequest)
setPortletRequestDispatcherRequest
in interface com.liferay.portal.kernel.portlet.LiferayPortletRequest
public void setWindowState(javax.portlet.WindowState windowState)
protected int getPortletSpecMajorVersion()