Package com.liferay.portlet.internal
Class ResourceRequestImpl
Object
com.liferay.portlet.internal.PortletRequestImpl
com.liferay.portlet.internal.ClientDataRequestImpl
com.liferay.portlet.internal.ResourceRequestImpl
- All Implemented Interfaces:
com.liferay.portal.kernel.portlet.LiferayPortletRequest
,com.liferay.portal.kernel.portlet.LiferayResourceRequest
,ClientDataRequest
,PortletRequest
,RenderState
,ResourceRequest
public class ResourceRequestImpl
extends ClientDataRequestImpl
implements com.liferay.portal.kernel.portlet.LiferayResourceRequest
- Author:
- Brian Wing Shun Chan, 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
Fields inherited from interface javax.portlet.ResourceRequest
ETAG
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
defineObjects
(PortletConfig portletConfig, PortletResponse portletResponse) javax.servlet.DispatcherType
getETag()
Deprecated.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) boolean
boolean
startPortletAsync
(ResourceRequest resourceRequest, ResourceResponse resourceResponse) Methods inherited from class com.liferay.portlet.internal.ClientDataRequestImpl
getCharacterEncoding, getContentLength, getContentLengthLong, getContentType, getMethod, getPart, getParts, getPortletInputStream, getPortletParameterMap, getReader, setCharacterEncoding
Methods inherited from class com.liferay.portlet.internal.PortletRequestImpl
cleanUp, clearRenderParameters, getAttribute, getAttributeNames, getAuthType, getCCPPProfile, getContextPath, getCookies, getHttpServletRequest, getLocale, getLocales, getOriginalHttpServletRequest, getParameter, getParameterMap, getParameterNames, getParameterValues, getPlid, getPortalContext, getPortlet, getPortletContext, getPortletMode, getPortletName, getPortletRequestDispatcherRequest, getPortletSession, getPortletSession, getPortletSpecMajorVersion, getPreferences, getPreferencesImpl, getPrivateParameterMap, getProperties, getProperty, getPropertyNames, getPublicParameterMap, getRemoteUser, getRenderParameters, getRequestedSessionId, getResponseContentType, getResponseContentTypes, getScheme, getServerName, getServerPort, getUserAgent, getUserInfo, getUserPrincipal, getWindowID, getWindowState, invalidateSession, isPortletModeAllowed, isRequestedSessionIdValid, isSecure, isTriggeredByActionURL, isUserInRole, isWindowStateAllowed, removeAttribute, setAttribute, setPortletMode, setPortletRequestDispatcherRequest, setWindowState
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface javax.portlet.ClientDataRequest
getCharacterEncoding, getContentLength, getContentLengthLong, getContentType, getMethod, getPart, getParts, getPortletInputStream, getReader, setCharacterEncoding
Methods inherited from interface com.liferay.portal.kernel.portlet.LiferayPortletRequest
cleanUp, clearRenderParameters, getHttpServletRequest, getOriginalHttpServletRequest, getPlid, getPortlet, getPortletName, getPortletRequestDispatcherRequest, invalidateSession, setPortletRequestDispatcherRequest
Methods inherited from interface javax.portlet.PortletRequest
getAttribute, getAttributeNames, getAuthType, getContextPath, getCookies, getLocale, getLocales, getParameter, getParameterMap, getParameterNames, getParameterValues, getPortalContext, getPortletContext, getPortletSession, getPortletSession, getPreferences, getPrivateParameterMap, getProperties, getProperty, getPropertyNames, getPublicParameterMap, getRemoteUser, getRequestedSessionId, getScheme, getServerName, getServerPort, getUserAgent, getUserPrincipal, getWindowID, isPortletModeAllowed, isRequestedSessionIdValid, isSecure, isUserInRole, isWindowStateAllowed, removeAttribute, setAttribute
Methods inherited from interface javax.portlet.RenderState
getRenderParameters
Methods inherited from interface javax.portlet.ResourceRequest
getPortletMode, getResponseContentType, getResponseContentTypes, getWindowState
-
Constructor Details
-
ResourceRequestImpl
public ResourceRequestImpl()
-
-
Method Details
-
defineObjects
- Specified by:
defineObjects
in interfacecom.liferay.portal.kernel.portlet.LiferayPortletRequest
- Overrides:
defineObjects
in classPortletRequestImpl
-
getCacheability
- Specified by:
getCacheability
in interfaceResourceRequest
-
getDispatcherType
public javax.servlet.DispatcherType getDispatcherType()- Specified by:
getDispatcherType
in interfaceResourceRequest
-
getETag
- Specified by:
getETag
in interfaceResourceRequest
- Overrides:
getETag
in classPortletRequestImpl
-
getLifecycle
- Specified by:
getLifecycle
in interfacecom.liferay.portal.kernel.portlet.LiferayPortletRequest
- Specified by:
getLifecycle
in classPortletRequestImpl
-
getPortletAsyncContext
- Specified by:
getPortletAsyncContext
in interfaceResourceRequest
-
getPrivateRenderParameterMap
Deprecated.As of Judson (7.1.x), replaced byRenderState.getRenderParameters()
- Specified by:
getPrivateRenderParameterMap
in interfaceResourceRequest
-
getResourceID
- Specified by:
getResourceID
in interfaceResourceRequest
-
getResourceParameters
- Specified by:
getResourceParameters
in interfaceResourceRequest
-
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) - Overrides:
init
in classPortletRequestImpl
-
isAsyncStarted
public boolean isAsyncStarted()- Specified by:
isAsyncStarted
in interfaceResourceRequest
-
isAsyncSupported
public boolean isAsyncSupported()- Specified by:
isAsyncSupported
in interfaceResourceRequest
-
startPortletAsync
- Specified by:
startPortletAsync
in interfaceResourceRequest
- Throws:
IllegalStateException
-
startPortletAsync
public PortletAsyncContext startPortletAsync(ResourceRequest resourceRequest, ResourceResponse resourceResponse) throws IllegalStateException - Specified by:
startPortletAsync
in interfaceResourceRequest
- Throws:
IllegalStateException
-
RenderState.getRenderParameters()