org.apache.tapestry.request
Class DecodedRequestWrapper

java.lang.Object
  extended by javax.servlet.ServletRequestWrapper
      extended by javax.servlet.http.HttpServletRequestWrapper
          extended by org.apache.tapestry.request.DecodedRequestWrapper
All Implemented Interfaces:
HttpServletRequest, ServletRequest

public class DecodedRequestWrapper
extends HttpServletRequestWrapper

A wrapper that uses a DecodedRequestto override default values for several HttpServletRequest properties.

Since:
4.0
Author:
Howard M. Lewis Ship

Field Summary
 
Fields inherited from interface javax.servlet.http.HttpServletRequest
BASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, FORM_AUTH
 
Constructor Summary
DecodedRequestWrapper(HttpServletRequest request, DecodedRequest decoded)
           
 
Method Summary
 String getRequestURI()
           
 String getScheme()
           
 String getServerName()
           
 int getServerPort()
           
 String toString()
           
 
Methods inherited from class javax.servlet.http.HttpServletRequestWrapper
getAuthType, getContextPath, getCookies, getDateHeader, getHeader, getHeaderNames, getHeaders, getIntHeader, getMethod, getPathInfo, getPathTranslated, getQueryString, getRemoteUser, getRequestedSessionId, getRequestURL, getServletPath, getSession, getSession, getUserPrincipal, isRequestedSessionIdFromCookie, isRequestedSessionIdFromUrl, isRequestedSessionIdFromURL, isRequestedSessionIdValid, isUserInRole
 
Methods inherited from class javax.servlet.ServletRequestWrapper
getAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getContentType, getInputStream, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getParameter, getParameterMap, getParameterNames, getParameterValues, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRequest, getRequestDispatcher, isSecure, removeAttribute, setAttribute, setCharacterEncoding, setRequest
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface javax.servlet.ServletRequest
getAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getContentType, getInputStream, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getParameter, getParameterMap, getParameterNames, getParameterValues, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRequestDispatcher, isSecure, removeAttribute, setAttribute, setCharacterEncoding
 

Constructor Detail

DecodedRequestWrapper

public DecodedRequestWrapper(HttpServletRequest request,
                             DecodedRequest decoded)
Method Detail

getRequestURI

public String getRequestURI()
Specified by:
getRequestURI in interface HttpServletRequest
Overrides:
getRequestURI in class HttpServletRequestWrapper

getScheme

public String getScheme()
Specified by:
getScheme in interface ServletRequest
Overrides:
getScheme in class ServletRequestWrapper

getServerName

public String getServerName()
Specified by:
getServerName in interface ServletRequest
Overrides:
getServerName in class ServletRequestWrapper

getServerPort

public int getServerPort()
Specified by:
getServerPort in interface ServletRequest
Overrides:
getServerPort in class ServletRequestWrapper

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.