Liferay 6.1.2-ce-ga3

com.liferay.portlet
Class MimeResponseImpl

java.lang.Object
  extended by com.liferay.portlet.PortletResponseImpl
      extended by com.liferay.portlet.MimeResponseImpl
All Implemented Interfaces:
LiferayPortletResponse, MimeResponse, PortletResponse
Direct Known Subclasses:
RenderResponseImpl, ResourceResponseImpl

public abstract class MimeResponseImpl
extends PortletResponseImpl
implements MimeResponse


Field Summary
 
Fields inherited from interface javax.portlet.MimeResponse
CACHE_SCOPE, ETAG, EXPIRATION_CACHE, MARKUP_HEAD_ELEMENT, NAMESPACED_RESPONSE, PRIVATE_SCOPE, PUBLIC_SCOPE, USE_CACHED_CONTENT
 
Constructor Summary
MimeResponseImpl()
           
 
Method Summary
 void flushBuffer()
           
 int getBufferSize()
           
 CacheControl getCacheControl()
           
 String getCharacterEncoding()
           
 String getContentType()
           
 Locale getLocale()
           
 OutputStream getPortletOutputStream()
           
 PrintWriter getWriter()
           
protected  void init(PortletRequestImpl portletRequestImpl, javax.servlet.http.HttpServletResponse response, String portletName, long companyId, long plid)
           
 boolean isCalledFlushBuffer()
           
 boolean isCalledGetPortletOutputStream()
           
 boolean isCalledGetWriter()
           
 boolean isCommitted()
           
 void reset()
           
 void resetBuffer()
           
 void setBufferSize(int bufferSize)
           
 void setContentType(String contentType)
           
 
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
 
Methods inherited from interface javax.portlet.MimeResponse
createActionURL, createRenderURL, createResourceURL
 
Methods inherited from interface javax.portlet.PortletResponse
addProperty, addProperty, addProperty, createElement, encodeURL, getNamespace, setProperty
 

Constructor Detail

MimeResponseImpl

public MimeResponseImpl()
Method Detail

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

Liferay 6.1.2-ce-ga3