org.apache.cocoon.portal.pluto.servlet
Class ServletRequestImpl

java.lang.Object
  extended byjavax.servlet.ServletRequestWrapper
      extended byjavax.servlet.http.HttpServletRequestWrapper
          extended byorg.apache.cocoon.portal.pluto.servlet.ServletRequestImpl
All Implemented Interfaces:
HttpServletRequest, ServletRequest

public class ServletRequestImpl
extends HttpServletRequestWrapper

Our request wrapper.

Version:
$Id: ServletRequestImpl.java 328469 2005-10-25 20:18:47Z cziegeler $

Field Summary
protected  HttpServletRequest cachedRequest
          Request object used for portletParameterMap.
protected  HttpServletRequest originalRequest
          Original Request.
protected  Map portletParameterMap
          Cache the parameter map.
protected  PortletURLProviderImpl provider
           
protected  org.apache.pluto.om.window.PortletWindow window
           
 
Fields inherited from interface javax.servlet.http.HttpServletRequest
BASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, FORM_AUTH
 
Constructor Summary
ServletRequestImpl(HttpServletRequest request, PortletURLProviderImpl provider)
           
ServletRequestImpl(HttpServletRequest request, PortletURLProviderImpl provider, org.apache.pluto.om.window.PortletWindow window)
           
 
Method Summary
 String getContentType()
           
 String getContextPath()
          JST-168 PLT.16.3.3 cxxxi
 String getParameter(String name)
           
 Map getParameterMap()
           
 Enumeration getParameterNames()
           
 String[] getParameterValues(String name)
           
 String getPathInfo()
          JST-168 PLT.16.3.3 cxxx
 String getPathTranslated()
          JST-168 PLT.16.3.3 cxxx
 String getProtocol()
          JST-168 PLT.16.3.3 cxxix
 String getQueryString()
          JST-168 PLT.16.3.3 cxxx
 String getRemoteAddr()
          JST-168 PLT.16.3.3 cxxix
 String getRemoteHost()
          JST-168 PLT.16.3.3 cxxix
 ServletRequestImpl getRequest(org.apache.pluto.om.window.PortletWindow window)
           
 String getRequestURI()
          JST-168 PLT.16.3.3 cxxx
 StringBuffer getRequestURL()
          JST-168 PLT.16.3.3 cxxix
 String getServletPath()
          JST-168 PLT.16.3.3 cxxx
 void setCharacterEncoding(String arg0)
           
 
Methods inherited from class javax.servlet.http.HttpServletRequestWrapper
getAuthType, getCookies, getDateHeader, getHeader, getHeaderNames, getHeaders, getIntHeader, getMethod, getRemoteUser, getRequestedSessionId, getSession, getSession, getUserPrincipal, isRequestedSessionIdFromCookie, isRequestedSessionIdFromUrl, isRequestedSessionIdFromURL, isRequestedSessionIdValid, isUserInRole
 
Methods inherited from class javax.servlet.ServletRequestWrapper
getAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getInputStream, getLocale, getLocales, getReader, getRealPath, getRequest, getRequestDispatcher, getScheme, getServerName, getServerPort, isSecure, removeAttribute, setAttribute, setRequest
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.servlet.ServletRequest
getAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getInputStream, getLocale, getLocales, getReader, getRealPath, getRequestDispatcher, getScheme, getServerName, getServerPort, isSecure, removeAttribute, setAttribute
 

Field Detail

portletParameterMap

protected Map portletParameterMap
Cache the parameter map.


cachedRequest

protected HttpServletRequest cachedRequest
Request object used for portletParameterMap.


originalRequest

protected final HttpServletRequest originalRequest
Original Request.


provider

protected final PortletURLProviderImpl provider

window

protected org.apache.pluto.om.window.PortletWindow window
Constructor Detail

ServletRequestImpl

public ServletRequestImpl(HttpServletRequest request,
                          PortletURLProviderImpl provider)

ServletRequestImpl

public ServletRequestImpl(HttpServletRequest request,
                          PortletURLProviderImpl provider,
                          org.apache.pluto.om.window.PortletWindow window)
Method Detail

getRequest

public ServletRequestImpl getRequest(org.apache.pluto.om.window.PortletWindow window)

setCharacterEncoding

public void setCharacterEncoding(String arg0)
                          throws UnsupportedEncodingException
Throws:
UnsupportedEncodingException
See Also:
ServletRequest.setCharacterEncoding(java.lang.String)

getContentType

public String getContentType()
See Also:
ServletRequest.getContentType()

getParameter

public String getParameter(String name)
See Also:
ServletRequest.getParameter(java.lang.String)

getParameterMap

public Map getParameterMap()
See Also:
ServletRequest.getParameterMap()

getParameterNames

public Enumeration getParameterNames()
See Also:
ServletRequest.getParameterNames()

getParameterValues

public String[] getParameterValues(String name)
See Also:
ServletRequest.getParameterValues(java.lang.String)

getProtocol

public String getProtocol()
JST-168 PLT.16.3.3 cxxix

See Also:
ServletRequest.getProtocol()

getRemoteAddr

public String getRemoteAddr()
JST-168 PLT.16.3.3 cxxix

See Also:
ServletRequest.getRemoteAddr()

getRemoteHost

public String getRemoteHost()
JST-168 PLT.16.3.3 cxxix

See Also:
ServletRequest.getRemoteHost()

getRequestURL

public StringBuffer getRequestURL()
JST-168 PLT.16.3.3 cxxix

See Also:
HttpServletRequest.getRequestURL()

getPathInfo

public String getPathInfo()
JST-168 PLT.16.3.3 cxxx

See Also:
HttpServletRequest.getPathInfo()

getPathTranslated

public String getPathTranslated()
JST-168 PLT.16.3.3 cxxx

See Also:
HttpServletRequest.getPathTranslated()

getQueryString

public String getQueryString()
JST-168 PLT.16.3.3 cxxx

See Also:
HttpServletRequest.getQueryString()

getRequestURI

public String getRequestURI()
JST-168 PLT.16.3.3 cxxx

See Also:
HttpServletRequest.getRequestURI()

getServletPath

public String getServletPath()
JST-168 PLT.16.3.3 cxxx

See Also:
HttpServletRequest.getServletPath()

getContextPath

public String getContextPath()
JST-168 PLT.16.3.3 cxxxi

See Also:
HttpServletRequest.getContextPath()


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