Class MimeResponseImpl

Object
com.liferay.portlet.internal.PortletResponseImpl
com.liferay.portlet.internal.MimeResponseImpl
All Implemented Interfaces:
com.liferay.portal.kernel.portlet.LiferayPortletResponse, jakarta.portlet.MimeResponse, jakarta.portlet.PortletResponse
Direct Known Subclasses:
HeaderResponseImpl, RenderResponseImpl, ResourceResponseImpl

public abstract class MimeResponseImpl extends PortletResponseImpl implements jakarta.portlet.MimeResponse
Author:
Brian Wing Shun Chan, Shuyang Zhou
  • Constructor Details

    • MimeResponseImpl

      public MimeResponseImpl()
  • Method Details

    • flushBuffer

      public void flushBuffer() throws IOException
      Specified by:
      flushBuffer in interface jakarta.portlet.MimeResponse
      Throws:
      IOException
    • getBufferSize

      public int getBufferSize()
      Specified by:
      getBufferSize in interface jakarta.portlet.MimeResponse
    • getCacheControl

      public jakarta.portlet.CacheControl getCacheControl()
      Specified by:
      getCacheControl in interface jakarta.portlet.MimeResponse
    • getCharacterEncoding

      public String getCharacterEncoding()
      Specified by:
      getCharacterEncoding in interface jakarta.portlet.MimeResponse
    • getContentType

      public String getContentType()
      Specified by:
      getContentType in interface jakarta.portlet.MimeResponse
    • getLocale

      public Locale getLocale()
      Specified by:
      getLocale in interface jakarta.portlet.MimeResponse
    • getPortletOutputStream

      public OutputStream getPortletOutputStream() throws IllegalStateException, IOException
      Specified by:
      getPortletOutputStream in interface jakarta.portlet.MimeResponse
      Throws:
      IllegalStateException
      IOException
    • getWriter

      public PrintWriter getWriter() throws IllegalStateException, IOException
      Specified by:
      getWriter in interface jakarta.portlet.MimeResponse
      Throws:
      IllegalStateException
      IOException
    • isCalledFlushBuffer

      public boolean isCalledFlushBuffer()
    • isCalledGetPortletOutputStream

      public boolean isCalledGetPortletOutputStream()
    • isCalledGetWriter

      public boolean isCalledGetWriter()
    • isCommitted

      public boolean isCommitted()
      Specified by:
      isCommitted in interface jakarta.portlet.MimeResponse
    • reset

      public void reset()
      Specified by:
      reset in interface jakarta.portlet.MimeResponse
    • resetBuffer

      public void resetBuffer()
      Specified by:
      resetBuffer in interface jakarta.portlet.MimeResponse
    • setBufferSize

      public void setBufferSize(int bufferSize)
      Specified by:
      setBufferSize in interface jakarta.portlet.MimeResponse
    • setContentType

      public void setContentType(String contentType)
      Specified by:
      setContentType in interface jakarta.portlet.MimeResponse