com.liferay.portlet
Class MimeResponseImpl
java.lang.Object
com.liferay.portlet.PortletResponseImpl
com.liferay.portlet.MimeResponseImpl
- All Implemented Interfaces:
- LiferayPortletResponse, MimeResponse, PortletResponse
- Direct Known Subclasses:
- RenderResponseImpl, ResourceResponseImpl
public abstract class MimeResponseImpl
- extends PortletResponseImpl
- implements MimeResponse
Methods inherited from class com.liferay.portlet.PortletResponseImpl |
addDateHeader, addHeader, addIntHeader, addProperty, addProperty, addProperty, createActionURL, createActionURL, createElement, createLiferayPortletURL, createLiferayPortletURL, createLiferayPortletURL, createLiferayPortletURL, createRenderURL, createRenderURL, createResourceURL, createResourceURL, doCreateLiferayPortletURL, encodeURL, getCompanyId, getHttpServletRequest, getHttpServletResponse, getLifecycle, getNamespace, getPlid, getPortlet, getPortletName, getPortletRequest, getPortletResponseImpl, getProperties, getUrlEncoder, setDateHeader, setHeader, setIntHeader, setPlid, setProperty, setURLEncoder, transferHeaders, transferMarkupHeadElements |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MimeResponseImpl
public MimeResponseImpl()
flushBuffer
public void flushBuffer()
throws IOException
- Specified by:
flushBuffer
in interface MimeResponse
- Throws:
IOException
getBufferSize
public int getBufferSize()
- Specified by:
getBufferSize
in interface MimeResponse
getCacheControl
public CacheControl getCacheControl()
- Specified by:
getCacheControl
in interface MimeResponse
getCharacterEncoding
public String getCharacterEncoding()
- Specified by:
getCharacterEncoding
in interface MimeResponse
getContentType
public String getContentType()
- Specified by:
getContentType
in interface MimeResponse
getLocale
public Locale getLocale()
- Specified by:
getLocale
in interface MimeResponse
getPortletOutputStream
public OutputStream getPortletOutputStream()
throws IOException
- Specified by:
getPortletOutputStream
in interface MimeResponse
- Throws:
IOException
getWriter
public PrintWriter getWriter()
throws IOException
- Specified by:
getWriter
in interface MimeResponse
- Throws:
IOException
isCalledFlushBuffer
public boolean isCalledFlushBuffer()
isCalledGetPortletOutputStream
public boolean isCalledGetPortletOutputStream()
isCalledGetWriter
public boolean isCalledGetWriter()
isCommitted
public boolean isCommitted()
- Specified by:
isCommitted
in interface MimeResponse
reset
public void reset()
- Specified by:
reset
in interface MimeResponse
resetBuffer
public void resetBuffer()
- Specified by:
resetBuffer
in interface MimeResponse
setBufferSize
public void setBufferSize(int bufferSize)
- Specified by:
setBufferSize
in interface MimeResponse
setContentType
public void setContentType(String contentType)
- Specified by:
setContentType
in interface MimeResponse
init
protected void init(PortletRequestImpl portletRequestImpl,
javax.servlet.http.HttpServletResponse response,
String portletName,
long companyId,
long plid)
- Overrides:
init
in class PortletResponseImpl