org.apache.cocoon.environment.portlet
Class RenderRequest
java.lang.Object
org.apache.cocoon.environment.impl.AbstractRequest
org.apache.cocoon.environment.portlet.PortletRequest
org.apache.cocoon.environment.portlet.RenderRequest
- All Implemented Interfaces:
- Request
- public final class RenderRequest
- extends PortletRequest
Implements the Request
interface for
the JSR-168 (Portlet) environment.
- Version:
- $Id: RenderRequest.java 326051 2005-10-18 08:19:11Z cziegeler $
Methods inherited from class org.apache.cocoon.environment.portlet.PortletRequest |
get, getAttribute, getAttribute, getAttributeNames, getAttributeNames, getAuthType, getCharacterEncoding, getContentLength, getContentType, getContextPath, getCookieMap, getCookies, getDateHeader, getHeader, getHeaderNames, getHeaders, getLocale, getLocales, getParameter, getParameterMap, getParameterNames, getParameterValues, getPathInfo, getPathTranslated, getPortalContext, getPortletMode, getPortletRequest, getPortletSession, getPortletSession, getPreferences, getProperties, getProperty, getPropertyNames, getProtocol, getQueryString, getRemoteAddr, getRemoteHost, getRemoteUser, getRequestedSessionId, getRequestURI, getResponseContentType, getResponseContentTypes, getScheme, getServerName, getServerPort, getServletPath, getSession, getSession, getSitemapPath, getSitemapURI, getSitemapURIPrefix, getUserPrincipal, getWindowState, isPortletModeAllowed, isRequestedSessionIdFromCookie, isRequestedSessionIdFromURL, isRequestedSessionIdValid, isSecure, isUserInRole, isWindowStateAllowed, removeAttribute, removeAttribute, searchAttribute, setAttribute, setAttribute, setCharacterEncoding, setContainerEncoding |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RenderRequest
protected RenderRequest(String servletPath,
String pathInfo,
javax.portlet.RenderRequest request,
PortletEnvironment environment)
- Creates a RenderRequest based on a real RenderRequest object
getRenderRequest
public javax.portlet.RenderRequest getRenderRequest()
- Type cast portletRequest to RenderRequest
- Returns:
- type casted portletRequest
getMethod
public String getMethod()
- Render request can be always recognized by GET method
- Specified by:
getMethod
in interface Request
- Specified by:
getMethod
in class PortletRequest
getInputStream
public InputStream getInputStream()
throws UnsupportedOperationException
- Description copied from interface:
Request
- Retrieves the body of the request as binary data using
an
InputStream
.
- Returns:
- an
InputStream
containing the body of the request.
- Throws:
UnsupportedOperationException
Copyright ? 1999-2005 The Apache Software Foundation. All Rights Reserved.