org.apache.cocoon.environment.impl
Class AbstractRequest

java.lang.Object
  extended byorg.apache.cocoon.environment.impl.AbstractRequest
All Implemented Interfaces:
HttpServletRequest, org.apache.cocoon.environment.Request, ServletRequest, org.apache.cocoon.environment.ValueHolder
Direct Known Subclasses:
HttpRequest

public abstract class AbstractRequest
extends Object
implements org.apache.cocoon.environment.Request

Base class for any request

Version:
$Id: AbstractRequest.html 1304280 2012-03-23 11:18:01Z ilgrosso $

Field Summary
 
Fields inherited from interface org.apache.cocoon.environment.Request
GLOBAL_SCOPE, REQUEST_SCOPE
 
Fields inherited from interface javax.servlet.http.HttpServletRequest
BASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, FORM_AUTH
 
Constructor Summary
AbstractRequest()
           
 
Method Summary
 Map getAttributes()
           
 Map getHeaders()
           
 int getIntHeader(String name)
           
 String getLocalAddr()
           
 String getLocalName()
           
 int getLocalPort()
           
 Map getParameterMap()
           
 Map getParameters()
           
 BufferedReader getReader()
           
 String getRealPath(String path)
           
 int getRemotePort()
           
 RequestDispatcher getRequestDispatcher(String path)
           
 StringBuffer getRequestURL()
           
 boolean isRequestedSessionIdFromUrl()
           
 
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, getAttributeNames, getAuthType, getCharacterEncoding, getCocoonCookieMap, getCocoonCookies, getCocoonSession, getCocoonSession, getContentLength, getContentType, getContextPath, getCookieMap, getCookies, getDateHeader, getHeader, getHeaderNames, getHeaders, getInputStream, getLocalAttribute, getLocalAttributeNames, 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, removeLocalAttribute, searchAttribute, setAttribute, setCharacterEncoding, setLocalAttribute
 

Constructor Detail

AbstractRequest

public AbstractRequest()
Method Detail

getAttributes

public Map getAttributes()
Specified by:
getAttributes in interface org.apache.cocoon.environment.Request

getParameters

public Map getParameters()
Specified by:
getParameters in interface org.apache.cocoon.environment.Request

getHeaders

public Map getHeaders()
Specified by:
getHeaders in interface org.apache.cocoon.environment.Request

getIntHeader

public int getIntHeader(String name)
Specified by:
getIntHeader in interface HttpServletRequest

getRequestURL

public StringBuffer getRequestURL()
Specified by:
getRequestURL in interface HttpServletRequest

getLocalAddr

public String getLocalAddr()
Specified by:
getLocalAddr in interface ServletRequest

getLocalName

public String getLocalName()
Specified by:
getLocalName in interface ServletRequest

getLocalPort

public int getLocalPort()
Specified by:
getLocalPort in interface ServletRequest

getParameterMap

public Map getParameterMap()
Specified by:
getParameterMap in interface ServletRequest

getRemotePort

public int getRemotePort()
Specified by:
getRemotePort in interface ServletRequest

isRequestedSessionIdFromUrl

public boolean isRequestedSessionIdFromUrl()
Specified by:
isRequestedSessionIdFromUrl in interface HttpServletRequest

getReader

public BufferedReader getReader()
                         throws IOException
Specified by:
getReader in interface ServletRequest
Throws:
IOException

getRealPath

public String getRealPath(String path)
Specified by:
getRealPath in interface ServletRequest

getRequestDispatcher

public RequestDispatcher getRequestDispatcher(String path)
Specified by:
getRequestDispatcher in interface ServletRequest


Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.