org.apache.cocoon.environment.portlet
Class RenderRequest

java.lang.Object
  extended byorg.apache.cocoon.environment.impl.AbstractRequest
      extended byorg.apache.cocoon.environment.portlet.PortletRequest
          extended byorg.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 $

Field Summary
 
Fields inherited from class org.apache.cocoon.environment.portlet.PortletRequest
portletRequestURI
 
Fields inherited from interface org.apache.cocoon.environment.Request
GLOBAL_SCOPE, REQUEST_SCOPE
 
Constructor Summary
protected RenderRequest(String servletPath, String pathInfo, javax.portlet.RenderRequest request, PortletEnvironment environment)
          Creates a RenderRequest based on a real RenderRequest object
 
Method Summary
 InputStream getInputStream()
          Retrieves the body of the request as binary data using an InputStream.
 String getMethod()
          Render request can be always recognized by GET method
 javax.portlet.RenderRequest getRenderRequest()
          Type cast portletRequest to RenderRequest
 
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 org.apache.cocoon.environment.impl.AbstractRequest
getAttributes, getHeaders, getParameters
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RenderRequest

protected RenderRequest(String servletPath,
                        String pathInfo,
                        javax.portlet.RenderRequest request,
                        PortletEnvironment environment)
Creates a RenderRequest based on a real RenderRequest object

Method Detail

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.