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_INFOFields inherited from interface javax.portlet.ResourceRequest
ETAG -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddefineObjects(PortletConfig portletConfig, PortletResponse portletResponse) javax.servlet.DispatcherTypegetETag()Deprecated.voidinit(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) booleanbooleanstartPortletAsync(ResourceRequest resourceRequest, ResourceResponse resourceResponse) Methods inherited from class com.liferay.portlet.internal.ClientDataRequestImpl
getCharacterEncoding, getContentLength, getContentLengthLong, getContentType, getMethod, getPart, getParts, getPortletInputStream, getPortletParameterMap, getReader, setCharacterEncodingMethods 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, setWindowStateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface javax.portlet.ClientDataRequest
getCharacterEncoding, getContentLength, getContentLengthLong, getContentType, getMethod, getPart, getParts, getPortletInputStream, getReader, setCharacterEncodingMethods inherited from interface com.liferay.portal.kernel.portlet.LiferayPortletRequest
cleanUp, clearRenderParameters, getHttpServletRequest, getOriginalHttpServletRequest, getPlid, getPortlet, getPortletName, getPortletRequestDispatcherRequest, invalidateSession, setPortletRequestDispatcherRequestMethods 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, setAttributeMethods inherited from interface javax.portlet.RenderState
getRenderParametersMethods inherited from interface javax.portlet.ResourceRequest
getPortletMode, getResponseContentType, getResponseContentTypes, getWindowState
-
Constructor Details
-
ResourceRequestImpl
public ResourceRequestImpl()
-
-
Method Details
-
defineObjects
- Specified by:
defineObjectsin interfacecom.liferay.portal.kernel.portlet.LiferayPortletRequest- Overrides:
defineObjectsin classPortletRequestImpl
-
getCacheability
- Specified by:
getCacheabilityin interfaceResourceRequest
-
getDispatcherType
public javax.servlet.DispatcherType getDispatcherType()- Specified by:
getDispatcherTypein interfaceResourceRequest
-
getETag
- Specified by:
getETagin interfaceResourceRequest- Overrides:
getETagin classPortletRequestImpl
-
getLifecycle
- Specified by:
getLifecyclein interfacecom.liferay.portal.kernel.portlet.LiferayPortletRequest- Specified by:
getLifecyclein classPortletRequestImpl
-
getPortletAsyncContext
- Specified by:
getPortletAsyncContextin interfaceResourceRequest
-
getPrivateRenderParameterMap
Deprecated.As of Judson (7.1.x), replaced byRenderState.getRenderParameters()- Specified by:
getPrivateRenderParameterMapin interfaceResourceRequest
-
getResourceID
- Specified by:
getResourceIDin interfaceResourceRequest
-
getResourceParameters
- Specified by:
getResourceParametersin 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:
initin classPortletRequestImpl
-
isAsyncStarted
public boolean isAsyncStarted()- Specified by:
isAsyncStartedin interfaceResourceRequest
-
isAsyncSupported
public boolean isAsyncSupported()- Specified by:
isAsyncSupportedin interfaceResourceRequest
-
startPortletAsync
- Specified by:
startPortletAsyncin interfaceResourceRequest- Throws:
IllegalStateException
-
startPortletAsync
public PortletAsyncContext startPortletAsync(ResourceRequest resourceRequest, ResourceResponse resourceResponse) throws IllegalStateException - Specified by:
startPortletAsyncin interfaceResourceRequest- Throws:
IllegalStateException
-
RenderState.getRenderParameters()