public class ResourceResponseImpl extends MimeResponseImpl implements com.liferay.portal.kernel.portlet.LiferayResourceResponse
httpServletResponse, portletName, portletRequestImpl
Constructor and Description |
---|
ResourceResponseImpl() |
Modifier and Type | Method and Description |
---|---|
void |
addDateHeader(String name,
long date) |
void |
addHeader(String name,
String value) |
void |
addIntHeader(String name,
int value) |
void |
addProperty(javax.servlet.http.Cookie cookie) |
com.liferay.portal.kernel.portlet.LiferayPortletURL |
createLiferayPortletURL(long plid,
String portletName,
String lifecycle,
javax.portlet.MimeResponse.Copy copy,
boolean includeLinkToLayoutUuid) |
String |
getLifecycle() |
int |
getStatus() |
void |
setCharacterEncoding(String charset) |
void |
setContentLength(int length) |
void |
setContentLengthLong(long length) |
void |
setDateHeader(String name,
long date) |
void |
setHeader(String name,
String value) |
void |
setIntHeader(String name,
int value) |
void |
setLocale(Locale locale) |
void |
setStatus(int statusCode) |
flushBuffer, getBufferSize, getCacheControl, getCharacterEncoding, getContentType, getLocale, getPortletOutputStream, getWriter, isCalledFlushBuffer, isCalledGetPortletOutputStream, isCalledGetWriter, isCommitted, reset, resetBuffer, setBufferSize, setContentType
addProperty, addProperty, clearHeaders, createActionURL, createActionURL, createActionURL, createActionURL, createElement, 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, setPlid, setProperty, setURLEncoder, transferHeaders, transferMarkupHeadElements
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createActionURL, createActionURL, createActionURL, createActionURL, createLiferayPortletURL, createLiferayPortletURL, createLiferayPortletURL, createLiferayPortletURL, createLiferayPortletURL, createLiferayPortletURL, createRenderURL, createRenderURL, createRenderURL, createRenderURL, createResourceURL, createResourceURL, getHttpServletResponse, getPortlet, getProperties, setURLEncoder, transferHeaders, transferMarkupHeadElements
createActionURL, createActionURL, createRenderURL, createRenderURL, createResourceURL
public void addDateHeader(String name, long date)
addDateHeader
in interface com.liferay.portal.kernel.portlet.LiferayPortletResponse
addDateHeader
in class PortletResponseImpl
public void addHeader(String name, String value)
addHeader
in interface com.liferay.portal.kernel.portlet.LiferayPortletResponse
addHeader
in class PortletResponseImpl
public void addIntHeader(String name, int value)
addIntHeader
in interface com.liferay.portal.kernel.portlet.LiferayPortletResponse
addIntHeader
in class PortletResponseImpl
public void addProperty(javax.servlet.http.Cookie cookie)
addProperty
in interface javax.portlet.PortletResponse
addProperty
in class PortletResponseImpl
public com.liferay.portal.kernel.portlet.LiferayPortletURL createLiferayPortletURL(long plid, String portletName, String lifecycle, javax.portlet.MimeResponse.Copy copy, boolean includeLinkToLayoutUuid)
createLiferayPortletURL
in interface com.liferay.portal.kernel.portlet.LiferayPortletResponse
createLiferayPortletURL
in class PortletResponseImpl
public String getLifecycle()
getLifecycle
in interface com.liferay.portal.kernel.portlet.LiferayPortletResponse
getLifecycle
in class PortletResponseImpl
public int getStatus()
getStatus
in interface javax.portlet.ResourceResponse
public void setCharacterEncoding(String charset)
setCharacterEncoding
in interface javax.portlet.ResourceResponse
public void setContentLength(int length)
setContentLength
in interface javax.portlet.ResourceResponse
public void setContentLengthLong(long length)
setContentLengthLong
in interface javax.portlet.ResourceResponse
public void setDateHeader(String name, long date)
setDateHeader
in interface com.liferay.portal.kernel.portlet.LiferayPortletResponse
setDateHeader
in class PortletResponseImpl
public void setHeader(String name, String value)
setHeader
in interface com.liferay.portal.kernel.portlet.LiferayPortletResponse
setHeader
in class PortletResponseImpl
public void setIntHeader(String name, int value)
setIntHeader
in interface com.liferay.portal.kernel.portlet.LiferayPortletResponse
setIntHeader
in class PortletResponseImpl
public void setLocale(Locale locale)
setLocale
in interface javax.portlet.ResourceResponse
public void setStatus(int statusCode)
setStatus
in interface javax.portlet.ResourceResponse