org.apache.tapestry.portlet
Class PortletWebResponse
java.lang.Object
org.apache.tapestry.portlet.PortletWebResponse
- All Implemented Interfaces:
- org.apache.tapestry.web.WebResponse
- Direct Known Subclasses:
- RenderWebResponse
- public class PortletWebResponse
- extends java.lang.Object
- implements org.apache.tapestry.web.WebResponse
Adapts PortletResponse
. as WebResponse
.
- 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 |
PortletWebResponse
public PortletWebResponse(javax.portlet.PortletResponse portletResponse)
getOutputStream
public java.io.OutputStream getOutputStream(org.apache.tapestry.util.ContentType contentType)
throws java.io.IOException
- Specified by:
getOutputStream
in interface org.apache.tapestry.web.WebResponse
- Throws:
java.io.IOException
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
- Throws:
java.io.IOException
encodeURL
public java.lang.String encodeURL(java.lang.String url)
- Specified by:
encodeURL
in interface org.apache.tapestry.web.WebResponse
reset
public void reset()
- Specified by:
reset
in interface org.apache.tapestry.web.WebResponse
setContentLength
public void setContentLength(int contentLength)
- Specified by:
setContentLength
in interface org.apache.tapestry.web.WebResponse
getNamespace
public java.lang.String getNamespace()
- Returns the empty string. The
RenderWebResponse
subclass actually provides a
real value here.
- Specified by:
getNamespace
in interface org.apache.tapestry.web.WebResponse
unsupported
protected final void unsupported(java.lang.String methodName)