org.apache.tapestry.portlet
Class RenderWebResponse
java.lang.Object
org.apache.tapestry.portlet.PortletWebResponse
org.apache.tapestry.portlet.RenderWebResponse
- All Implemented Interfaces:
- WebResponse
public class RenderWebResponse
- extends PortletWebResponse
Wrapper around RenderResponse to adapt it as
PortletWebResponse.
- Since:
- 4.0
- Author:
- Howard M. Lewis Ship
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RenderWebResponse
public RenderWebResponse(javax.portlet.RenderResponse renderResponse)
reset
public void reset()
- Description copied from class:
PortletWebResponse
- Unsupported.
- Specified by:
reset in interface WebResponse- Overrides:
reset in class PortletWebResponse
getPrintWriter
public PrintWriter getPrintWriter(ContentType contentType)
throws IOException
- Description copied from interface:
WebResponse
- Returns a
PrintWriter to which output should be sent. This method should be invoked
once on a response. A second call is expected to be so that an exception page can be
rendered, and the underlying request data is reset.
- Specified by:
getPrintWriter in interface WebResponse- Overrides:
getPrintWriter in class PortletWebResponse
- Parameters:
contentType - The type of content encoding the writer is for.
- Returns:
- A new
PrintWriter instance.
- Throws:
IOException - On io error.
getNamespace
public 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 WebResponse- Overrides:
getNamespace in class PortletWebResponse
- Returns:
- The namespace that this requests resources should be pre-pended with.
Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.