Liferay 6.0.5

com.liferay.portlet
Class ResourceResponseImpl

java.lang.Object
  extended by com.liferay.portlet.PortletResponseImpl
      extended by com.liferay.portlet.MimeResponseImpl
          extended by com.liferay.portlet.ResourceResponseImpl
All Implemented Interfaces:
LiferayPortletResponse, MimeResponse, PortletResponse, ResourceResponse

public class ResourceResponseImpl
extends MimeResponseImpl
implements ResourceResponse


Field Summary
 
Fields inherited from interface javax.portlet.ResourceResponse
HTTP_STATUS_CODE
 
Fields inherited from interface javax.portlet.MimeResponse
CACHE_SCOPE, ETAG, EXPIRATION_CACHE, MARKUP_HEAD_ELEMENT, NAMESPACED_RESPONSE, PRIVATE_SCOPE, PUBLIC_SCOPE, USE_CACHED_CONTENT
 
Constructor Summary
ResourceResponseImpl()
           
 
Method Summary
 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()
           
 LiferayPortletURL createLiferayPortletURL(String portletName, String lifecycle)
           
 PortletURL createRenderURL()
           
 ResourceURL createResourceURL()
           
 String getLifecycle()
           
protected  void init(PortletRequestImpl portletRequestImpl, javax.servlet.http.HttpServletResponse response, String portletName, long companyId, long plid)
           
 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)
           
 
Methods inherited from class com.liferay.portlet.MimeResponseImpl
flushBuffer, getBufferSize, getCacheControl, getCharacterEncoding, getContentType, getLocale, getPortletOutputStream, getWriter, isCalledFlushBuffer, isCalledGetPortletOutputStream, isCalledGetWriter, isCommitted, reset, resetBuffer, setBufferSize, setContentType
 
Methods inherited from class com.liferay.portlet.PortletResponseImpl
addProperty, addProperty, createActionURL, createElement, createLiferayPortletURL, createLiferayPortletURL, createRenderURL, createResourceURL, encodeURL, getCompanyId, getHttpServletRequest, getHttpServletResponse, getNamespace, getPlid, getPortlet, getPortletName, getPortletRequest, getPortletResponseImpl, getProperties, getUrlEncoder, setPlid, setProperty, setURLEncoder, transferHeaders, transferMarkupHeadElements
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.portlet.MimeResponse
flushBuffer, getBufferSize, getCacheControl, getCharacterEncoding, getContentType, getLocale, getPortletOutputStream, getWriter, isCommitted, reset, resetBuffer, setBufferSize, setContentType
 
Methods inherited from interface javax.portlet.PortletResponse
addProperty, addProperty, createElement, encodeURL, getNamespace, setProperty
 

Constructor Detail

ResourceResponseImpl

public ResourceResponseImpl()
Method Detail

addDateHeader

public void addDateHeader(String name,
                          long date)
Specified by:
addDateHeader in interface LiferayPortletResponse
Overrides:
addDateHeader in class PortletResponseImpl

addHeader

public void addHeader(String name,
                      String value)
Specified by:
addHeader in interface LiferayPortletResponse
Overrides:
addHeader in class PortletResponseImpl

addIntHeader

public void addIntHeader(String name,
                         int value)
Specified by:
addIntHeader in interface LiferayPortletResponse
Overrides:
addIntHeader in class PortletResponseImpl

addProperty

public void addProperty(javax.servlet.http.Cookie cookie)
Specified by:
addProperty in interface PortletResponse
Overrides:
addProperty in class PortletResponseImpl

createActionURL

public PortletURL createActionURL()
Specified by:
createActionURL in interface LiferayPortletResponse
Specified by:
createActionURL in interface MimeResponse
Specified by:
createActionURL in interface ResourceResponse
Overrides:
createActionURL in class PortletResponseImpl

createLiferayPortletURL

public LiferayPortletURL createLiferayPortletURL(String portletName,
                                                 String lifecycle)
Specified by:
createLiferayPortletURL in interface LiferayPortletResponse
Overrides:
createLiferayPortletURL in class PortletResponseImpl

createRenderURL

public PortletURL createRenderURL()
Specified by:
createRenderURL in interface LiferayPortletResponse
Specified by:
createRenderURL in interface MimeResponse
Specified by:
createRenderURL in interface ResourceResponse
Overrides:
createRenderURL in class PortletResponseImpl

createResourceURL

public ResourceURL createResourceURL()
Specified by:
createResourceURL in interface LiferayPortletResponse
Specified by:
createResourceURL in interface MimeResponse
Specified by:
createResourceURL in interface ResourceResponse
Overrides:
createResourceURL in class PortletResponseImpl

getLifecycle

public String getLifecycle()
Specified by:
getLifecycle in class PortletResponseImpl

setCharacterEncoding

public void setCharacterEncoding(String charset)
Specified by:
setCharacterEncoding in interface ResourceResponse

setLocale

public void setLocale(Locale locale)
Specified by:
setLocale in interface ResourceResponse

setContentLength

public void setContentLength(int length)
Specified by:
setContentLength in interface ResourceResponse

setDateHeader

public void setDateHeader(String name,
                          long date)
Specified by:
setDateHeader in interface LiferayPortletResponse
Overrides:
setDateHeader in class PortletResponseImpl

setHeader

public void setHeader(String name,
                      String value)
Specified by:
setHeader in interface LiferayPortletResponse
Overrides:
setHeader in class PortletResponseImpl

setIntHeader

public void setIntHeader(String name,
                         int value)
Specified by:
setIntHeader in interface LiferayPortletResponse
Overrides:
setIntHeader in class PortletResponseImpl

init

protected void init(PortletRequestImpl portletRequestImpl,
                    javax.servlet.http.HttpServletResponse response,
                    String portletName,
                    long companyId,
                    long plid)
Overrides:
init in class MimeResponseImpl

Liferay 6.0.5