org.apache.tapestry.portlet
Class RenderWebResponse

java.lang.Object
  extended byorg.apache.tapestry.portlet.PortletWebResponse
      extended byorg.apache.tapestry.portlet.RenderWebResponse
All Implemented Interfaces:
org.apache.tapestry.web.WebResponse

public class RenderWebResponse
extends PortletWebResponse

Wrapper around RenderResponse to adapt it as PortletWebResponse.

Since:
4.0
Author:
Howard M. Lewis Ship

Constructor Summary
RenderWebResponse(javax.portlet.RenderResponse renderResponse)
           
 
Method Summary
 java.lang.String getNamespace()
          Returns the empty string.
 java.io.PrintWriter getPrintWriter(org.apache.tapestry.util.ContentType contentType)
           
 void reset()
          Unsupported.
 
Methods inherited from class org.apache.tapestry.portlet.PortletWebResponse
encodeURL, getOutputStream, sendError, setContentLength, setDateHeader, setHeader, setIntHeader, setStatus, unsupported
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RenderWebResponse

public RenderWebResponse(javax.portlet.RenderResponse renderResponse)
Method Detail

reset

public void reset()
Description copied from class: PortletWebResponse
Unsupported.

Specified by:
reset in interface org.apache.tapestry.web.WebResponse
Overrides:
reset in class PortletWebResponse

getPrintWriter

public java.io.PrintWriter getPrintWriter(org.apache.tapestry.util.ContentType contentType)
                                   throws java.io.IOException
Specified by:
getPrintWriter in interface org.apache.tapestry.web.WebResponse
Overrides:
getPrintWriter in class PortletWebResponse
Throws:
java.io.IOException

getNamespace

public java.lang.String getNamespace()
Description copied from class: PortletWebResponse
Returns the empty string. The RenderWebResponse subclass actually provides a real value here.

Specified by:
getNamespace in interface org.apache.tapestry.web.WebResponse
Overrides:
getNamespace in class PortletWebResponse