Class ResourceResponseImpl

All Implemented Interfaces:
com.liferay.portal.kernel.portlet.LiferayPortletResponse, com.liferay.portal.kernel.portlet.LiferayResourceResponse, jakarta.portlet.MimeResponse, jakarta.portlet.PortletResponse, jakarta.portlet.ResourceResponse

public class ResourceResponseImpl extends MimeResponseImpl implements com.liferay.portal.kernel.portlet.LiferayResourceResponse
Author:
Brian Wing Shun Chan, Neil Griffin
  • Constructor Details

    • ResourceResponseImpl

      public ResourceResponseImpl()
  • Method Details

    • addDateHeader

      public void addDateHeader(String name, long date)
      Specified by:
      addDateHeader in interface com.liferay.portal.kernel.portlet.LiferayPortletResponse
      Overrides:
      addDateHeader in class PortletResponseImpl
    • addHeader

      public void addHeader(String name, String value)
      Specified by:
      addHeader in interface com.liferay.portal.kernel.portlet.LiferayPortletResponse
      Overrides:
      addHeader in class PortletResponseImpl
    • addIntHeader

      public void addIntHeader(String name, int value)
      Specified by:
      addIntHeader in interface com.liferay.portal.kernel.portlet.LiferayPortletResponse
      Overrides:
      addIntHeader in class PortletResponseImpl
    • addProperty

      public void addProperty(jakarta.servlet.http.Cookie cookie)
      Specified by:
      addProperty in interface jakarta.portlet.PortletResponse
      Overrides:
      addProperty in class PortletResponseImpl
    • createLiferayPortletURL

      public com.liferay.portal.kernel.portlet.LiferayPortletURL createLiferayPortletURL(long plid, String portletName, String lifecycle, jakarta.portlet.MimeResponse.Copy copy, boolean includeLinkToLayoutUuid)
      Specified by:
      createLiferayPortletURL in interface com.liferay.portal.kernel.portlet.LiferayPortletResponse
      Overrides:
      createLiferayPortletURL in class PortletResponseImpl
    • getLifecycle

      public String getLifecycle()
      Specified by:
      getLifecycle in interface com.liferay.portal.kernel.portlet.LiferayPortletResponse
      Specified by:
      getLifecycle in class PortletResponseImpl
    • getStatus

      public int getStatus()
      Specified by:
      getStatus in interface jakarta.portlet.ResourceResponse
    • setCharacterEncoding

      public void setCharacterEncoding(String charset)
      Specified by:
      setCharacterEncoding in interface jakarta.portlet.ResourceResponse
    • setContentLength

      public void setContentLength(int length)
      Specified by:
      setContentLength in interface jakarta.portlet.ResourceResponse
    • setContentLengthLong

      public void setContentLengthLong(long length)
      Specified by:
      setContentLengthLong in interface jakarta.portlet.ResourceResponse
    • setDateHeader

      public void setDateHeader(String name, long date)
      Specified by:
      setDateHeader in interface com.liferay.portal.kernel.portlet.LiferayPortletResponse
      Overrides:
      setDateHeader in class PortletResponseImpl
    • setHeader

      public void setHeader(String name, String value)
      Specified by:
      setHeader in interface com.liferay.portal.kernel.portlet.LiferayPortletResponse
      Overrides:
      setHeader in class PortletResponseImpl
    • setIntHeader

      public void setIntHeader(String name, int value)
      Specified by:
      setIntHeader in interface com.liferay.portal.kernel.portlet.LiferayPortletResponse
      Overrides:
      setIntHeader in class PortletResponseImpl
    • setLocale

      public void setLocale(Locale locale)
      Specified by:
      setLocale in interface jakarta.portlet.ResourceResponse
    • setStatus

      public void setStatus(int statusCode)
      Specified by:
      setStatus in interface jakarta.portlet.ResourceResponse