Package com.liferay.portlet.internal
Class ResourceResponseImpl
Object
com.liferay.portlet.internal.PortletResponseImpl
com.liferay.portlet.internal.MimeResponseImpl
com.liferay.portlet.internal.ResourceResponseImpl
- All Implemented Interfaces:
com.liferay.portal.kernel.portlet.LiferayPortletResponse,com.liferay.portal.kernel.portlet.LiferayResourceResponse,MimeResponse,PortletResponse,ResourceResponse
public class ResourceResponseImpl
extends MimeResponseImpl
implements com.liferay.portal.kernel.portlet.LiferayResourceResponse
- Author:
- Brian Wing Shun Chan, Neil Griffin
-
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, portletRequestImplFields inherited from interface javax.portlet.MimeResponse
CACHE_SCOPE, ETAG, EXPIRATION_CACHE, MARKUP_HEAD_ELEMENT, NAMESPACED_RESPONSE, PRIVATE_SCOPE, PUBLIC_SCOPE, USE_CACHED_CONTENTFields inherited from interface javax.portlet.ResourceResponse
HTTP_STATUS_CODE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddDateHeader(String name, long date) voidvoidaddIntHeader(String name, int value) voidaddProperty(javax.servlet.http.Cookie cookie) com.liferay.portal.kernel.portlet.LiferayPortletURLcreateLiferayPortletURL(long plid, String portletName, String lifecycle, MimeResponse.Copy copy, boolean includeLinkToLayoutUuid) intvoidsetCharacterEncoding(String charset) voidsetContentLength(int length) voidsetContentLengthLong(long length) voidsetDateHeader(String name, long date) voidvoidsetIntHeader(String name, int value) voidvoidsetStatus(int statusCode) Methods inherited from class com.liferay.portlet.internal.MimeResponseImpl
flushBuffer, getBufferSize, getCacheControl, getCharacterEncoding, getContentType, getLocale, getPortletOutputStream, getWriter, isCalledFlushBuffer, isCalledGetPortletOutputStream, isCalledGetWriter, isCommitted, reset, resetBuffer, setBufferSize, setContentTypeMethods inherited from class com.liferay.portlet.internal.PortletResponseImpl
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, getPortletPreferences, getPortletRequest, getProperties, getProperty, getPropertyNames, getPropertyValues, getUrlEncoder, init, setPlid, setProperty, setURLEncoder, transferHeaders, transferMarkupHeadElementsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.liferay.portal.kernel.portlet.LiferayPortletResponse
createActionURL, createActionURL, createActionURL, createActionURL, createLiferayPortletURL, createLiferayPortletURL, createLiferayPortletURL, createLiferayPortletURL, createLiferayPortletURL, createLiferayPortletURL, createRenderURL, createRenderURL, createRenderURL, createRenderURL, createResourceURL, createResourceURL, getHttpServletResponse, getPortlet, getProperties, setURLEncoder, transferHeaders, transferMarkupHeadElementsMethods inherited from interface javax.portlet.MimeResponse
flushBuffer, getBufferSize, getCacheControl, getCharacterEncoding, getContentType, getLocale, getPortletOutputStream, getWriter, isCommitted, reset, resetBuffer, setBufferSize, setContentTypeMethods inherited from interface javax.portlet.PortletResponse
addProperty, addProperty, createElement, encodeURL, getNamespace, getProperty, getPropertyNames, getPropertyValues, setPropertyMethods inherited from interface javax.portlet.ResourceResponse
createActionURL, createActionURL, createRenderURL, createRenderURL, createResourceURL
-
Constructor Details
-
ResourceResponseImpl
public ResourceResponseImpl()
-
-
Method Details
-
addDateHeader
- Specified by:
addDateHeaderin interfacecom.liferay.portal.kernel.portlet.LiferayPortletResponse- Overrides:
addDateHeaderin classPortletResponseImpl
-
addHeader
- Specified by:
addHeaderin interfacecom.liferay.portal.kernel.portlet.LiferayPortletResponse- Overrides:
addHeaderin classPortletResponseImpl
-
addIntHeader
- Specified by:
addIntHeaderin interfacecom.liferay.portal.kernel.portlet.LiferayPortletResponse- Overrides:
addIntHeaderin classPortletResponseImpl
-
addProperty
public void addProperty(javax.servlet.http.Cookie cookie) - Specified by:
addPropertyin interfacePortletResponse- Overrides:
addPropertyin classPortletResponseImpl
-
createLiferayPortletURL
public com.liferay.portal.kernel.portlet.LiferayPortletURL createLiferayPortletURL(long plid, String portletName, String lifecycle, MimeResponse.Copy copy, boolean includeLinkToLayoutUuid) - Specified by:
createLiferayPortletURLin interfacecom.liferay.portal.kernel.portlet.LiferayPortletResponse- Overrides:
createLiferayPortletURLin classPortletResponseImpl
-
getLifecycle
- Specified by:
getLifecyclein interfacecom.liferay.portal.kernel.portlet.LiferayPortletResponse- Specified by:
getLifecyclein classPortletResponseImpl
-
getStatus
public int getStatus()- Specified by:
getStatusin interfaceResourceResponse
-
setCharacterEncoding
- Specified by:
setCharacterEncodingin interfaceResourceResponse
-
setContentLength
public void setContentLength(int length) - Specified by:
setContentLengthin interfaceResourceResponse
-
setContentLengthLong
public void setContentLengthLong(long length) - Specified by:
setContentLengthLongin interfaceResourceResponse
-
setDateHeader
- Specified by:
setDateHeaderin interfacecom.liferay.portal.kernel.portlet.LiferayPortletResponse- Overrides:
setDateHeaderin classPortletResponseImpl
-
setHeader
- Specified by:
setHeaderin interfacecom.liferay.portal.kernel.portlet.LiferayPortletResponse- Overrides:
setHeaderin classPortletResponseImpl
-
setIntHeader
- Specified by:
setIntHeaderin interfacecom.liferay.portal.kernel.portlet.LiferayPortletResponse- Overrides:
setIntHeaderin classPortletResponseImpl
-
setLocale
- Specified by:
setLocalein interfaceResourceResponse
-
setStatus
public void setStatus(int statusCode) - Specified by:
setStatusin interfaceResourceResponse
-