Class ResourceRequestImpl

All Implemented Interfaces:
com.liferay.portal.kernel.portlet.LiferayPortletRequest, com.liferay.portal.kernel.portlet.LiferayResourceRequest, javax.portlet.ClientDataRequest, javax.portlet.PortletRequest, javax.portlet.RenderState, javax.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(javax.portlet.PortletConfig portletConfig, javax.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 javax.portlet.ResourceRequest
    • getDispatcherType

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

      public String getETag()
      Specified by:
      getETag in interface javax.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 javax.portlet.PortletAsyncContext getPortletAsyncContext()
      Specified by:
      getPortletAsyncContext in interface javax.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 javax.portlet.ResourceRequest
    • getResourceID

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

      public javax.portlet.ResourceParameters getResourceParameters()
      Specified by:
      getResourceParameters in interface javax.portlet.ResourceRequest
    • init

      public void init(javax.servlet.http.HttpServletRequest httpServletRequest, com.liferay.portal.kernel.model.Portlet portlet, com.liferay.portal.kernel.portlet.InvokerPortlet invokerPortlet, javax.portlet.PortletContext portletContext, javax.portlet.WindowState windowState, javax.portlet.PortletMode portletMode, javax.portlet.PortletPreferences portletPreferences, long plid)
      Overrides:
      init in class PortletRequestImpl
    • isAsyncStarted

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

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

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

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