Package com.liferay.portlet.internal
Class MimeResponseImpl
Object
com.liferay.portlet.internal.PortletResponseImpl
com.liferay.portlet.internal.MimeResponseImpl
- All Implemented Interfaces:
com.liferay.portal.kernel.portlet.LiferayPortletResponse
,MimeResponse
,PortletResponse
- Direct Known Subclasses:
HeaderResponseImpl
,RenderResponseImpl
,ResourceResponseImpl
- Author:
- Brian Wing Shun Chan, Shuyang Zhou
-
Nested Class Summary
Nested classes/interfaces inherited from interface javax.portlet.MimeResponse
MimeResponse.Copy
-
Field Summary
Fields inherited from class com.liferay.portlet.internal.PortletResponseImpl
httpServletResponse, portletName, portletRequestImpl
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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
int
boolean
boolean
boolean
boolean
void
reset()
void
void
setBufferSize
(int bufferSize) void
setContentType
(String contentType) Methods inherited from class com.liferay.portlet.internal.PortletResponseImpl
addDateHeader, addHeader, addIntHeader, addProperty, addProperty, addProperty, clearHeaders, createActionURL, createActionURL, createActionURL, createActionURL, createElement, createLiferayPortletURL, createLiferayPortletURL, createLiferayPortletURL, createLiferayPortletURL, createLiferayPortletURL, createLiferayPortletURL, createLiferayPortletURL, createRenderURL, createRenderURL, createRenderURL, createRenderURL, createResourceURL, createResourceURL, encodeURL, getCompanyId, getHttpServletRequest, getHttpServletResponse, getLayout, getLifecycle, getNamespace, getPlid, getPortlet, getPortletName, getPortletPreferences, getPortletRequest, getProperties, getProperty, getPropertyNames, getPropertyValues, getUrlEncoder, init, 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, createActionURL, createRenderURL, createRenderURL, createResourceURL
Methods inherited from interface javax.portlet.PortletResponse
addProperty, addProperty, addProperty, createElement, encodeURL, getNamespace, getProperty, getPropertyNames, getPropertyValues, setProperty
-
Constructor Details
-
MimeResponseImpl
public MimeResponseImpl()
-
-
Method Details
-
flushBuffer
- Specified by:
flushBuffer
in interfaceMimeResponse
- Throws:
IOException
-
getBufferSize
public int getBufferSize()- Specified by:
getBufferSize
in interfaceMimeResponse
-
getCacheControl
- Specified by:
getCacheControl
in interfaceMimeResponse
-
getCharacterEncoding
- Specified by:
getCharacterEncoding
in interfaceMimeResponse
-
getContentType
- Specified by:
getContentType
in interfaceMimeResponse
-
getLocale
- Specified by:
getLocale
in interfaceMimeResponse
-
getPortletOutputStream
- Specified by:
getPortletOutputStream
in interfaceMimeResponse
- Throws:
IllegalStateException
IOException
-
getWriter
- Specified by:
getWriter
in interfaceMimeResponse
- Throws:
IllegalStateException
IOException
-
isCalledFlushBuffer
public boolean isCalledFlushBuffer() -
isCalledGetPortletOutputStream
public boolean isCalledGetPortletOutputStream() -
isCalledGetWriter
public boolean isCalledGetWriter() -
isCommitted
public boolean isCommitted()- Specified by:
isCommitted
in interfaceMimeResponse
-
reset
public void reset()- Specified by:
reset
in interfaceMimeResponse
-
resetBuffer
public void resetBuffer()- Specified by:
resetBuffer
in interfaceMimeResponse
-
setBufferSize
public void setBufferSize(int bufferSize) - Specified by:
setBufferSize
in interfaceMimeResponse
-
setContentType
- Specified by:
setContentType
in interfaceMimeResponse
-