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,jakarta.portlet.ClientDataRequest,jakarta.portlet.PortletRequest,jakarta.portlet.RenderState,jakarta.portlet.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 jakarta.portlet.PortletRequest
jakarta.portlet.PortletRequest.P3PUserInfos -
Field Summary
Fields inherited from interface jakarta.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 jakarta.portlet.ResourceRequest
ETAG -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddefineObjects(jakarta.portlet.PortletConfig portletConfig, jakarta.portlet.PortletResponse portletResponse) jakarta.servlet.DispatcherTypegetETag()jakarta.portlet.PortletAsyncContextDeprecated.jakarta.portlet.ResourceParametersvoidinit(jakarta.servlet.http.HttpServletRequest httpServletRequest, com.liferay.portal.kernel.model.Portlet portlet, com.liferay.portal.kernel.portlet.InvokerPortlet invokerPortlet, jakarta.portlet.PortletContext portletContext, jakarta.portlet.WindowState windowState, jakarta.portlet.PortletMode portletMode, jakarta.portlet.PortletPreferences portletPreferences, long plid) booleanbooleanjakarta.portlet.PortletAsyncContextjakarta.portlet.PortletAsyncContextstartPortletAsync(jakarta.portlet.ResourceRequest resourceRequest, jakarta.portlet.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 jakarta.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 jakarta.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 jakarta.portlet.RenderState
getRenderParametersMethods inherited from interface jakarta.portlet.ResourceRequest
getPortletMode, getResponseContentType, getResponseContentTypes, getWindowState
-
Constructor Details
-
ResourceRequestImpl
public ResourceRequestImpl()
-
-
Method Details
-
defineObjects
public void defineObjects(jakarta.portlet.PortletConfig portletConfig, jakarta.portlet.PortletResponse portletResponse) - Specified by:
defineObjectsin interfacecom.liferay.portal.kernel.portlet.LiferayPortletRequest- Overrides:
defineObjectsin classPortletRequestImpl
-
getCacheability
- Specified by:
getCacheabilityin interfacejakarta.portlet.ResourceRequest
-
getDispatcherType
public jakarta.servlet.DispatcherType getDispatcherType()- Specified by:
getDispatcherTypein interfacejakarta.portlet.ResourceRequest
-
getETag
- Specified by:
getETagin interfacejakarta.portlet.ResourceRequest- Overrides:
getETagin classPortletRequestImpl
-
getLifecycle
- Specified by:
getLifecyclein interfacecom.liferay.portal.kernel.portlet.LiferayPortletRequest- Specified by:
getLifecyclein classPortletRequestImpl
-
getPortletAsyncContext
public jakarta.portlet.PortletAsyncContext getPortletAsyncContext()- Specified by:
getPortletAsyncContextin interfacejakarta.portlet.ResourceRequest
-
getPrivateRenderParameterMap
Deprecated.As of Judson (7.1.x), replaced byRenderState.getRenderParameters()- Specified by:
getPrivateRenderParameterMapin interfacejakarta.portlet.ResourceRequest
-
getResourceID
- Specified by:
getResourceIDin interfacejakarta.portlet.ResourceRequest
-
getResourceParameters
public jakarta.portlet.ResourceParameters getResourceParameters()- Specified by:
getResourceParametersin interfacejakarta.portlet.ResourceRequest
-
init
public void init(jakarta.servlet.http.HttpServletRequest httpServletRequest, com.liferay.portal.kernel.model.Portlet portlet, com.liferay.portal.kernel.portlet.InvokerPortlet invokerPortlet, jakarta.portlet.PortletContext portletContext, jakarta.portlet.WindowState windowState, jakarta.portlet.PortletMode portletMode, jakarta.portlet.PortletPreferences portletPreferences, long plid) - Overrides:
initin classPortletRequestImpl
-
isAsyncStarted
public boolean isAsyncStarted()- Specified by:
isAsyncStartedin interfacejakarta.portlet.ResourceRequest
-
isAsyncSupported
public boolean isAsyncSupported()- Specified by:
isAsyncSupportedin interfacejakarta.portlet.ResourceRequest
-
startPortletAsync
- Specified by:
startPortletAsyncin interfacejakarta.portlet.ResourceRequest- Throws:
IllegalStateException
-
startPortletAsync
public jakarta.portlet.PortletAsyncContext startPortletAsync(jakarta.portlet.ResourceRequest resourceRequest, jakarta.portlet.ResourceResponse resourceResponse) throws IllegalStateException - Specified by:
startPortletAsyncin interfacejakarta.portlet.ResourceRequest- Throws:
IllegalStateException
-
RenderState.getRenderParameters()