org.apache.cocoon.environment.portlet
Class RenderRequest

java.lang.Object
  extended by org.apache.cocoon.environment.portlet.PortletRequest
      extended by 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:
CVS $Id: RenderRequest.html 1304258 2012-03-23 10:09:27Z ilgrosso $
Author:
Alex Rudnev, Vadim Gritsenko

Field Summary
 
Fields inherited from class org.apache.cocoon.environment.portlet.PortletRequest
portletRequestURI
 
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
 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, getAttributeNames, getAuthType, getCharacterEncoding, getCocoonSession, getCocoonSession, 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, getSitemapURI, getSitemapURIPrefix, getUserPrincipal, getWindowState, isPortletModeAllowed, isRequestedSessionIdFromCookie, isRequestedSessionIdFromURL, isRequestedSessionIdValid, isSecure, isUserInRole, isWindowStateAllowed, removeAttribute, setAttribute, setCharacterEncoding, setContainerEncoding
 
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
Returns:
a String specifying the name of the method with which this request was made


Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.