public abstract class PortletRequestImpl
extends Object
implements com.liferay.portal.kernel.portlet.LiferayPortletRequest
PortletRequest.P3PUserInfos
ACTION_PHASE, ACTION_SCOPE_ID, BASIC_AUTH, CCPP_PROFILE, CLIENT_CERT_AUTH, DIGEST_AUTH, EVENT_PHASE, FORM_AUTH, LIFECYCLE_PHASE, RENDER_HEADERS, RENDER_MARKUP, RENDER_PART, RENDER_PHASE, RESOURCE_PHASE, USER_INFO
Constructor and Description |
---|
PortletRequestImpl() |
Modifier and Type | Method and Description |
---|---|
void |
cleanUp() |
Map<String,String[]> |
clearRenderParameters() |
void |
defineObjects(PortletConfig portletConfig,
PortletResponse portletResponse) |
Object |
getAttribute(String name) |
Enumeration<String> |
getAttributeNames() |
String |
getAuthType() |
javax.ccpp.Profile |
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) |
Map<String,String[]> |
getParameterMap() |
Enumeration<String> |
getParameterNames() |
String[] |
getParameterValues(String name) |
long |
getPlid() |
PortalContext |
getPortalContext() |
com.liferay.portal.kernel.model.Portlet |
getPortlet() |
PortletContext |
getPortletContext() |
PortletMode |
getPortletMode() |
String |
getPortletName() |
javax.servlet.http.HttpServletRequest |
getPortletRequestDispatcherRequest() |
static PortletRequestImpl |
getPortletRequestImpl(PortletRequest portletRequest) |
PortletSession |
getPortletSession() |
PortletSession |
getPortletSession(boolean create) |
PortletPreferences |
getPreferences() |
PortletPreferencesImpl |
getPreferencesImpl() |
Map<String,String[]> |
getPrivateParameterMap() |
Enumeration<String> |
getProperties(String name) |
String |
getProperty(String name) |
Enumeration<String> |
getPropertyNames() |
Map<String,String[]> |
getPublicParameterMap() |
String |
getRemoteUser() |
String |
getRequestedSessionId() |
String |
getResponseContentType() |
Enumeration<String> |
getResponseContentTypes() |
String |
getScheme() |
String |
getServerName() |
int |
getServerPort() |
LinkedHashMap<String,String> |
getUserInfo() |
Principal |
getUserPrincipal() |
String |
getWindowID() |
WindowState |
getWindowState() |
protected void |
init(javax.servlet.http.HttpServletRequest request,
com.liferay.portal.kernel.model.Portlet portlet,
com.liferay.portal.kernel.portlet.InvokerPortlet invokerPortlet,
PortletContext portletContext,
WindowState windowState,
PortletMode portletMode,
PortletPreferences preferences,
long plid) |
void |
invalidateSession() |
boolean |
isInvalidParameter(String name) |
boolean |
isPortletModeAllowed(PortletMode portletMode) |
boolean |
isPrivateRequestAttributes() |
boolean |
isRequestedSessionIdValid() |
boolean |
isSecure() |
boolean |
isTriggeredByActionURL() |
boolean |
isUserInRole(String role) |
boolean |
isWindowStateAllowed(WindowState windowState) |
protected void |
mergePublicRenderParameters(com.liferay.portal.kernel.servlet.DynamicServletRequest dynamicRequest,
PortletPreferences preferences,
long plid)
Deprecated.
As of Judson (7.1.x), replaced by
_mergePublicRenderParameters(DynamicServletRequest, Map,
PortletPreferences, String) |
void |
removeAttribute(String name) |
protected String |
removePortletNamespace(String portletNamespace,
String name) |
void |
setAttribute(String name,
Object obj) |
void |
setPortletMode(PortletMode portletMode) |
void |
setPortletRequestDispatcherRequest(javax.servlet.http.HttpServletRequest request) |
void |
setWindowState(WindowState windowState) |
public static PortletRequestImpl getPortletRequestImpl(PortletRequest portletRequest)
public void cleanUp()
public Map<String,String[]> clearRenderParameters()
clearRenderParameters
in interface com.liferay.portal.kernel.portlet.LiferayPortletRequest
public void defineObjects(PortletConfig portletConfig, PortletResponse portletResponse)
defineObjects
in interface com.liferay.portal.kernel.portlet.LiferayPortletRequest
public Object getAttribute(String name)
getAttribute
in interface PortletRequest
public Enumeration<String> getAttributeNames()
getAttributeNames
in interface PortletRequest
public String getAuthType()
getAuthType
in interface PortletRequest
public javax.ccpp.Profile getCCPPProfile()
public String getContextPath()
getContextPath
in interface PortletRequest
public javax.servlet.http.Cookie[] getCookies()
getCookies
in interface PortletRequest
public String getETag()
public javax.servlet.http.HttpServletRequest getHttpServletRequest()
getHttpServletRequest
in interface com.liferay.portal.kernel.portlet.LiferayPortletRequest
public abstract String getLifecycle()
public Locale getLocale()
getLocale
in interface PortletRequest
public Enumeration<Locale> getLocales()
getLocales
in interface PortletRequest
public String getMethod()
public javax.servlet.http.HttpServletRequest getOriginalHttpServletRequest()
getOriginalHttpServletRequest
in interface com.liferay.portal.kernel.portlet.LiferayPortletRequest
public String getParameter(String name)
getParameter
in interface PortletRequest
public Map<String,String[]> getParameterMap()
getParameterMap
in interface PortletRequest
public Enumeration<String> getParameterNames()
getParameterNames
in interface PortletRequest
public String[] getParameterValues(String name)
getParameterValues
in interface PortletRequest
public long getPlid()
getPlid
in interface com.liferay.portal.kernel.portlet.LiferayPortletRequest
public PortalContext getPortalContext()
getPortalContext
in interface PortletRequest
public com.liferay.portal.kernel.model.Portlet getPortlet()
getPortlet
in interface com.liferay.portal.kernel.portlet.LiferayPortletRequest
public PortletContext getPortletContext()
public PortletMode getPortletMode()
getPortletMode
in interface PortletRequest
public String getPortletName()
getPortletName
in interface com.liferay.portal.kernel.portlet.LiferayPortletRequest
public javax.servlet.http.HttpServletRequest getPortletRequestDispatcherRequest()
public PortletSession getPortletSession()
getPortletSession
in interface PortletRequest
public PortletSession getPortletSession(boolean create)
getPortletSession
in interface PortletRequest
public PortletPreferences getPreferences()
getPreferences
in interface PortletRequest
public PortletPreferencesImpl getPreferencesImpl()
public Map<String,String[]> getPrivateParameterMap()
getPrivateParameterMap
in interface PortletRequest
public Enumeration<String> getProperties(String name)
getProperties
in interface PortletRequest
public String getProperty(String name)
getProperty
in interface PortletRequest
public Enumeration<String> getPropertyNames()
getPropertyNames
in interface PortletRequest
public Map<String,String[]> getPublicParameterMap()
getPublicParameterMap
in interface PortletRequest
public String getRemoteUser()
getRemoteUser
in interface PortletRequest
public String getRequestedSessionId()
getRequestedSessionId
in interface PortletRequest
public String getResponseContentType()
getResponseContentType
in interface PortletRequest
public Enumeration<String> getResponseContentTypes()
getResponseContentTypes
in interface PortletRequest
public String getScheme()
getScheme
in interface PortletRequest
public String getServerName()
getServerName
in interface PortletRequest
public int getServerPort()
getServerPort
in interface PortletRequest
public LinkedHashMap<String,String> getUserInfo()
public Principal getUserPrincipal()
getUserPrincipal
in interface PortletRequest
public String getWindowID()
getWindowID
in interface PortletRequest
public WindowState getWindowState()
getWindowState
in interface PortletRequest
public void invalidateSession()
public boolean isInvalidParameter(String name)
public boolean isPortletModeAllowed(PortletMode portletMode)
isPortletModeAllowed
in interface PortletRequest
public boolean isPrivateRequestAttributes()
public boolean isRequestedSessionIdValid()
isRequestedSessionIdValid
in interface PortletRequest
public boolean isSecure()
isSecure
in interface PortletRequest
public boolean isTriggeredByActionURL()
public boolean isUserInRole(String role)
isUserInRole
in interface PortletRequest
public boolean isWindowStateAllowed(WindowState windowState)
isWindowStateAllowed
in interface PortletRequest
public void removeAttribute(String name)
removeAttribute
in interface PortletRequest
public void setAttribute(String name, Object obj)
setAttribute
in interface PortletRequest
public void setPortletMode(PortletMode portletMode)
public void setPortletRequestDispatcherRequest(javax.servlet.http.HttpServletRequest request)
public void setWindowState(WindowState windowState)
protected void init(javax.servlet.http.HttpServletRequest request, com.liferay.portal.kernel.model.Portlet portlet, com.liferay.portal.kernel.portlet.InvokerPortlet invokerPortlet, PortletContext portletContext, WindowState windowState, PortletMode portletMode, PortletPreferences preferences, long plid)
@Deprecated protected void mergePublicRenderParameters(com.liferay.portal.kernel.servlet.DynamicServletRequest dynamicRequest, PortletPreferences preferences, long plid)
_mergePublicRenderParameters(DynamicServletRequest, Map,
PortletPreferences, String)
protected String removePortletNamespace(String portletNamespace, String name)