org.apache.cocoon.environment.impl
Class AbstractRequest

java.lang.Object
  extended byorg.apache.cocoon.environment.impl.AbstractRequest
All Implemented Interfaces:
Request
Direct Known Subclasses:
AbstractRequestWrapper, CommandLineRequest, HttpRequest, JXPathCocoonContexts.RequestProxy, PortletRequest

public abstract class AbstractRequest
extends Object
implements Request

Base class for any request

Version:
$Id: AbstractRequest.java 170436 2005-05-16 19:50:25Z danielf $

Field Summary
 
Fields inherited from interface org.apache.cocoon.environment.Request
GLOBAL_SCOPE, REQUEST_SCOPE
 
Constructor Summary
AbstractRequest()
           
 
Method Summary
 Map getAttributes()
          Utility method for getting a Map view of the request attributes.
 Map getHeaders()
          Utility method for getting a Map view of the request headers.
 Map getParameters()
          Utility method for getting a Map view of the request parameters.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.cocoon.environment.Request
get, getAttribute, getAttribute, getAttributeNames, getAttributeNames, getAuthType, getCharacterEncoding, getContentLength, getContentType, getContextPath, getCookieMap, getCookies, getDateHeader, getHeader, getHeaderNames, getHeaders, getInputStream, getLocale, getLocales, getMethod, getParameter, getParameterNames, getParameterValues, getPathInfo, getPathTranslated, getProtocol, getQueryString, getRemoteAddr, getRemoteHost, getRemoteUser, getRequestedSessionId, getRequestURI, getScheme, getServerName, getServerPort, getServletPath, getSession, getSession, getSitemapPath, getSitemapURI, getSitemapURIPrefix, getUserPrincipal, isRequestedSessionIdFromCookie, isRequestedSessionIdFromURL, isRequestedSessionIdValid, isSecure, isUserInRole, removeAttribute, removeAttribute, searchAttribute, setAttribute, setAttribute, setCharacterEncoding
 

Constructor Detail

AbstractRequest

public AbstractRequest()
Method Detail

getAttributes

public Map getAttributes()
Description copied from interface: Request
Utility method for getting a Map view of the request attributes. Returns a Map with attributes from the GLOBAL_SCOPE.

Specified by:
getAttributes in interface Request
Returns:
a Map containing the request attributes.

getParameters

public Map getParameters()
Description copied from interface: Request
Utility method for getting a Map view of the request parameters. Returns a Map with request parameters.

Specified by:
getParameters in interface Request
Returns:
a Map containing the request parameters.

getHeaders

public Map getHeaders()
Description copied from interface: Request
Utility method for getting a Map view of the request headers. Returns a Map with request headers.

Specified by:
getHeaders in interface Request
Returns:
a Map containing the request headers.


Copyright ? 1999-2005 The Apache Software Foundation. All Rights Reserved.