public class ResourceResponseImpl extends MimeResponseImpl implements ResourceResponse
portletName, portletRequestImpl, response
HTTP_STATUS_CODE
CACHE_SCOPE, ETAG, EXPIRATION_CACHE, MARKUP_HEAD_ELEMENT, NAMESPACED_RESPONSE, PRIVATE_SCOPE, PUBLIC_SCOPE, USE_CACHED_CONTENT
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) |
PortletURL |
createActionURL() |
com.liferay.portal.kernel.portlet.LiferayPortletURL |
createLiferayPortletURL(long plid,
String portletName,
String lifecycle,
boolean includeLinkToLayoutUuid) |
PortletURL |
createRenderURL() |
ResourceURL |
createResourceURL() |
String |
getLifecycle() |
void |
setCharacterEncoding(String charset) |
void |
setContentLength(int length) |
void |
setDateHeader(String name,
long date) |
void |
setHeader(String name,
String value) |
void |
setIntHeader(String name,
int value) |
void |
setLocale(Locale locale) |
flushBuffer, getBufferSize, getCacheControl, getCharacterEncoding, getContentType, getLocale, getPortletOutputStream, getWriter, isCalledFlushBuffer, isCalledGetPortletOutputStream, isCalledGetWriter, isCommitted, reset, resetBuffer, setBufferSize, setContentType
addProperty, addProperty, createActionURL, createElement, createLiferayPortletURL, createLiferayPortletURL, createLiferayPortletURL, createRenderURL, createResourceURL, doCreateLiferayPortletURL, encodeURL, getCompanyId, getHttpServletRequest, getHttpServletResponse, getNamespace, getPlid, getPortlet, getPortletName, getPortletRequest, getPortletResponseImpl, getProperties, getUrlEncoder, init, init, setPlid, setProperty, setURLEncoder, transferHeaders, transferMarkupHeadElements
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
flushBuffer, getBufferSize, getCacheControl, getCharacterEncoding, getContentType, getLocale, getPortletOutputStream, getWriter, isCommitted, reset, resetBuffer, setBufferSize, setContentType
addProperty, addProperty, createElement, encodeURL, getNamespace, setProperty
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 PortletResponse
addProperty
in class PortletResponseImpl
public PortletURL createActionURL()
createActionURL
in interface com.liferay.portal.kernel.portlet.LiferayPortletResponse
createActionURL
in interface MimeResponse
createActionURL
in interface ResourceResponse
createActionURL
in class PortletResponseImpl
public com.liferay.portal.kernel.portlet.LiferayPortletURL createLiferayPortletURL(long plid, String portletName, String lifecycle, boolean includeLinkToLayoutUuid)
createLiferayPortletURL
in interface com.liferay.portal.kernel.portlet.LiferayPortletResponse
createLiferayPortletURL
in class PortletResponseImpl
public PortletURL createRenderURL()
createRenderURL
in interface com.liferay.portal.kernel.portlet.LiferayPortletResponse
createRenderURL
in interface MimeResponse
createRenderURL
in interface ResourceResponse
createRenderURL
in class PortletResponseImpl
public ResourceURL createResourceURL()
createResourceURL
in interface com.liferay.portal.kernel.portlet.LiferayPortletResponse
createResourceURL
in interface MimeResponse
createResourceURL
in interface ResourceResponse
createResourceURL
in class PortletResponseImpl
public String getLifecycle()
getLifecycle
in class PortletResponseImpl
public void setCharacterEncoding(String charset)
setCharacterEncoding
in interface ResourceResponse
public void setContentLength(int length)
setContentLength
in interface 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 ResourceResponse