Class 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
  • Constructor Details

    • ResourceRequestImpl

      public ResourceRequestImpl()
  • Method Details

    • defineObjects

      public void defineObjects(jakarta.portlet.PortletConfig portletConfig, jakarta.portlet.PortletResponse portletResponse)
      Specified by:
      defineObjects in interface com.liferay.portal.kernel.portlet.LiferayPortletRequest
      Overrides:
      defineObjects in class PortletRequestImpl
    • getCacheability

      public String getCacheability()
      Specified by:
      getCacheability in interface jakarta.portlet.ResourceRequest
    • getDispatcherType

      public jakarta.servlet.DispatcherType getDispatcherType()
      Specified by:
      getDispatcherType in interface jakarta.portlet.ResourceRequest
    • getETag

      public String getETag()
      Specified by:
      getETag in interface jakarta.portlet.ResourceRequest
      Overrides:
      getETag in class PortletRequestImpl
    • getLifecycle

      public String getLifecycle()
      Specified by:
      getLifecycle in interface com.liferay.portal.kernel.portlet.LiferayPortletRequest
      Specified by:
      getLifecycle in class PortletRequestImpl
    • getPortletAsyncContext

      public jakarta.portlet.PortletAsyncContext getPortletAsyncContext()
      Specified by:
      getPortletAsyncContext in interface jakarta.portlet.ResourceRequest
    • getPrivateRenderParameterMap

      @Deprecated public Map<String,String[]> getPrivateRenderParameterMap()
      Deprecated.
      As of Judson (7.1.x), replaced by RenderState.getRenderParameters()
      Specified by:
      getPrivateRenderParameterMap in interface jakarta.portlet.ResourceRequest
    • getResourceID

      public String getResourceID()
      Specified by:
      getResourceID in interface jakarta.portlet.ResourceRequest
    • getResourceParameters

      public jakarta.portlet.ResourceParameters getResourceParameters()
      Specified by:
      getResourceParameters in interface jakarta.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:
      init in class PortletRequestImpl
    • isAsyncStarted

      public boolean isAsyncStarted()
      Specified by:
      isAsyncStarted in interface jakarta.portlet.ResourceRequest
    • isAsyncSupported

      public boolean isAsyncSupported()
      Specified by:
      isAsyncSupported in interface jakarta.portlet.ResourceRequest
    • startPortletAsync

      public jakarta.portlet.PortletAsyncContext startPortletAsync() throws IllegalStateException
      Specified by:
      startPortletAsync in interface jakarta.portlet.ResourceRequest
      Throws:
      IllegalStateException
    • startPortletAsync

      public jakarta.portlet.PortletAsyncContext startPortletAsync(jakarta.portlet.ResourceRequest resourceRequest, jakarta.portlet.ResourceResponse resourceResponse) throws IllegalStateException
      Specified by:
      startPortletAsync in interface jakarta.portlet.ResourceRequest
      Throws:
      IllegalStateException