public class HeaderResponseImpl extends MimeResponseImpl implements com.liferay.portal.kernel.portlet.LiferayHeaderResponse
MimeResponse.Copy
portletName, portletRequestImpl, response
CACHE_SCOPE, ETAG, EXPIRATION_CACHE, MARKUP_HEAD_ELEMENT, NAMESPACED_RESPONSE, PRIVATE_SCOPE, PUBLIC_SCOPE, USE_CACHED_CONTENT
Constructor and Description |
---|
HeaderResponseImpl() |
Modifier and Type | Method and Description |
---|---|
void |
addDependency(String name,
String scope,
String version) |
void |
addDependency(String name,
String scope,
String version,
String xml) |
void |
flushBuffer() |
int |
getBufferSize() |
String |
getLifecycle() |
OutputStream |
getPortletOutputStream() |
PrintWriter |
getWriter() |
void |
init(PortletRequestImpl portletRequestImpl,
javax.servlet.http.HttpServletResponse httpServletResponse,
List<com.liferay.portal.kernel.model.portlet.PortletDependency> portletDependencies) |
boolean |
isCalledFlushBuffer() |
boolean |
isCalledGetPortletOutputStream() |
boolean |
isCalledGetWriter() |
boolean |
isCommitted() |
void |
reset() |
void |
resetBuffer() |
void |
setBufferSize(int bufferSize) |
void |
setContentType(String contentType) |
void |
setTitle(String title) |
void |
writeToHead() |
getCacheControl, getCharacterEncoding, getContentType, getLocale
addDateHeader, addHeader, addIntHeader, addProperty, addProperty, addProperty, createActionURL, createActionURL, createActionURL, createActionURL, createElement, createLiferayPortletURL, createLiferayPortletURL, createLiferayPortletURL, createLiferayPortletURL, createLiferayPortletURL, createLiferayPortletURL, createLiferayPortletURL, createRenderURL, createRenderURL, createRenderURL, createRenderURL, createResourceURL, createResourceURL, encodeURL, getCompanyId, getHttpServletRequest, getHttpServletResponse, getLayout, getNamespace, getPlid, getPortlet, getPortletName, getPortletRequest, getPortletSetup, getProperties, getProperty, getPropertyNames, getPropertyValues, getUrlEncoder, init, setDateHeader, setHeader, setIntHeader, setPlid, setProperty, setURLEncoder, transferHeaders, transferMarkupHeadElements
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createActionURL, createActionURL, createRenderURL, createRenderURL, createResourceURL, getCacheControl, getCharacterEncoding, getContentType, getLocale
addProperty, addProperty, addProperty, createElement, encodeURL, getNamespace, getProperty, getPropertyNames, getPropertyValues, setProperty
addDateHeader, addHeader, addIntHeader, createActionURL, createActionURL, createActionURL, createActionURL, createLiferayPortletURL, createLiferayPortletURL, createLiferayPortletURL, createLiferayPortletURL, createLiferayPortletURL, createLiferayPortletURL, createLiferayPortletURL, createRenderURL, createRenderURL, createRenderURL, createRenderURL, createResourceURL, createResourceURL, getHttpServletResponse, getPortlet, getProperties, setDateHeader, setHeader, setIntHeader, setURLEncoder, transferHeaders, transferMarkupHeadElements
public void addDependency(String name, String scope, String version)
addDependency
in interface HeaderResponse
public void addDependency(String name, String scope, String version, String xml)
addDependency
in interface HeaderResponse
public void flushBuffer()
flushBuffer
in interface MimeResponse
flushBuffer
in class MimeResponseImpl
public int getBufferSize()
getBufferSize
in interface MimeResponse
getBufferSize
in class MimeResponseImpl
public String getLifecycle()
getLifecycle
in interface com.liferay.portal.kernel.portlet.LiferayPortletResponse
getLifecycle
in class PortletResponseImpl
public OutputStream getPortletOutputStream()
getPortletOutputStream
in interface HeaderResponse
getPortletOutputStream
in interface MimeResponse
getPortletOutputStream
in class MimeResponseImpl
public PrintWriter getWriter()
getWriter
in interface HeaderResponse
getWriter
in interface MimeResponse
getWriter
in class MimeResponseImpl
public void init(PortletRequestImpl portletRequestImpl, javax.servlet.http.HttpServletResponse httpServletResponse, List<com.liferay.portal.kernel.model.portlet.PortletDependency> portletDependencies)
public boolean isCalledFlushBuffer()
isCalledFlushBuffer
in class MimeResponseImpl
public boolean isCalledGetPortletOutputStream()
isCalledGetPortletOutputStream
in class MimeResponseImpl
public boolean isCalledGetWriter()
isCalledGetWriter
in class MimeResponseImpl
public boolean isCommitted()
isCommitted
in interface MimeResponse
isCommitted
in class MimeResponseImpl
public void reset()
reset
in interface MimeResponse
reset
in class MimeResponseImpl
public void resetBuffer()
resetBuffer
in interface MimeResponse
resetBuffer
in class MimeResponseImpl
public void setBufferSize(int bufferSize)
setBufferSize
in interface MimeResponse
setBufferSize
in class MimeResponseImpl
public void setContentType(String contentType)
setContentType
in interface HeaderResponse
setContentType
in interface MimeResponse
setContentType
in class MimeResponseImpl
public void setTitle(String title)
setTitle
in interface HeaderResponse
public void writeToHead()
writeToHead
in interface com.liferay.portal.kernel.portlet.LiferayHeaderResponse