public class HeaderResponseImpl extends MimeResponseImpl implements com.liferay.portal.kernel.portlet.LiferayHeaderResponse
httpServletResponse, portletName, portletRequestImpl
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, clearHeaders, 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 javax.portlet.HeaderResponse
public void addDependency(String name, String scope, String version, String xml)
addDependency
in interface javax.portlet.HeaderResponse
public void flushBuffer()
flushBuffer
in interface javax.portlet.MimeResponse
flushBuffer
in class MimeResponseImpl
public int getBufferSize()
getBufferSize
in interface javax.portlet.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 javax.portlet.HeaderResponse
getPortletOutputStream
in interface javax.portlet.MimeResponse
getPortletOutputStream
in class MimeResponseImpl
public PrintWriter getWriter()
getWriter
in interface javax.portlet.HeaderResponse
getWriter
in interface javax.portlet.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 javax.portlet.MimeResponse
isCommitted
in class MimeResponseImpl
public void reset()
reset
in interface javax.portlet.MimeResponse
reset
in class MimeResponseImpl
public void resetBuffer()
resetBuffer
in interface javax.portlet.MimeResponse
resetBuffer
in class MimeResponseImpl
public void setBufferSize(int bufferSize)
setBufferSize
in interface javax.portlet.MimeResponse
setBufferSize
in class MimeResponseImpl
public void setContentType(String contentType)
setContentType
in interface javax.portlet.HeaderResponse
setContentType
in interface javax.portlet.MimeResponse
setContentType
in class MimeResponseImpl
public void setTitle(String title)
setTitle
in interface javax.portlet.HeaderResponse
public void writeToHead()
writeToHead
in interface com.liferay.portal.kernel.portlet.LiferayHeaderResponse