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:
javax.portlet.MimeResponse, javax.portlet.PortletResponse, javax.portlet.ResourceResponse

public class ResourceResponseImpl
extends MimeResponseImpl
implements javax.portlet.ResourceResponse

View Source

Author:
Brian Wing Shun Chan

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
protected ResourceResponseImpl()
           
 
Method Summary
 javax.portlet.PortletURL createActionURL()
           
 PortletURLImpl createPortletURLImpl(java.lang.String portletName, java.lang.String lifecycle)
           
 javax.portlet.PortletURL createRenderURL()
           
 javax.portlet.ResourceURL createResourceURL()
           
 int getBufferSize()
           
 java.lang.String getLifecycle()
           
protected  void init(PortletRequestImpl req, javax.servlet.http.HttpServletResponse res, java.lang.String portletName, long companyId, long plid)
           
protected  void recycle()
           
 void setCharacterEncoding(java.lang.String charset)
           
 void setContentLength(int length)
           
 void setLocale(java.util.Locale locale)
           
 
Methods inherited from class com.liferay.portlet.MimeResponseImpl
flushBuffer, getCacheControl, getCharacterEncoding, getContentType, getLocale, getPortletOutputStream, getWriter, isCalledFlushBuffer, isCalledGetPortletOutputStream, isCalledGetWriter, isCommitted, reset, resetBuffer, setBufferSize, setContentType
 
Methods inherited from class com.liferay.portlet.PortletResponseImpl
addProperty, addProperty, addProperty, createActionURL, createElement, createPortletURLImpl, createRenderURL, createResourceURL, encodeURL, getCompanyId, getHttpServletRequest, getHttpServletResponse, getNamespace, getPlid, getPortlet, getPortletName, getPortletRequest, getPortletResponseImpl, getProperties, getUrlEncoder, setPlid, setProperty, setURLEncoder
 
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, getCacheControl, getCharacterEncoding, getContentType, getLocale, getPortletOutputStream, getWriter, isCommitted, reset, resetBuffer, setBufferSize, setContentType
 
Methods inherited from interface javax.portlet.PortletResponse
addProperty, addProperty, addProperty, createElement, encodeURL, getNamespace, setProperty
 

Constructor Detail

ResourceResponseImpl

protected ResourceResponseImpl()
Method Detail

createActionURL

public javax.portlet.PortletURL createActionURL()
Specified by:
createActionURL in interface javax.portlet.MimeResponse
Specified by:
createActionURL in interface javax.portlet.ResourceResponse
Overrides:
createActionURL in class PortletResponseImpl

createPortletURLImpl

public PortletURLImpl createPortletURLImpl(java.lang.String portletName,
                                           java.lang.String lifecycle)
Overrides:
createPortletURLImpl in class PortletResponseImpl

createRenderURL

public javax.portlet.PortletURL createRenderURL()
Specified by:
createRenderURL in interface javax.portlet.MimeResponse
Specified by:
createRenderURL in interface javax.portlet.ResourceResponse
Overrides:
createRenderURL in class PortletResponseImpl

createResourceURL

public javax.portlet.ResourceURL createResourceURL()
Specified by:
createResourceURL in interface javax.portlet.MimeResponse
Specified by:
createResourceURL in interface javax.portlet.ResourceResponse
Overrides:
createResourceURL in class PortletResponseImpl

getBufferSize

public int getBufferSize()
Specified by:
getBufferSize in interface javax.portlet.MimeResponse
Overrides:
getBufferSize in class MimeResponseImpl

getLifecycle

public java.lang.String getLifecycle()
Specified by:
getLifecycle in class PortletResponseImpl

setCharacterEncoding

public void setCharacterEncoding(java.lang.String charset)
Specified by:
setCharacterEncoding in interface javax.portlet.ResourceResponse

setLocale

public void setLocale(java.util.Locale locale)
Specified by:
setLocale in interface javax.portlet.ResourceResponse

setContentLength

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

init

protected void init(PortletRequestImpl req,
                    javax.servlet.http.HttpServletResponse res,
                    java.lang.String portletName,
                    long companyId,
                    long plid)
Overrides:
init in class MimeResponseImpl

recycle

protected void recycle()
Overrides:
recycle in class MimeResponseImpl