FileDocCategorySizeDatePackage
InvokerHttpRequest.javaAPI DocApache Tomcat 6.0.144753Fri Jul 20 04:20:32 BST 2007org.apache.catalina.servlets

InvokerHttpRequest

public class InvokerHttpRequest extends HttpServletRequestWrapper
Wrapper around a javax.servlet.http.HttpServletRequest utilized when InvokerServlet processes the initial request for an invoked servlet. Subsequent requests will be mapped directly to the servlet, because a new servlet mapping will have been created.
author
Craig R. McClanahan
version
$Revision: 467222 $ $Date: 2006-10-24 05:17:11 +0200 (mar., 24 oct. 2006) $

Fields Summary
protected static final String
info
Descriptive information about this implementation.
protected String
pathInfo
The path information for this request.
protected String
pathTranslated
The translated path information for this request.
protected String
requestURI
The request URI for this request.
protected String
servletPath
The servlet path for this request.
Constructors Summary
public InvokerHttpRequest(HttpServletRequest request)
Construct a new wrapped request around the specified servlet request.

param
request The servlet request being wrapped


        super(request);
        this.pathInfo = request.getPathInfo();
        this.pathTranslated = request.getPathTranslated();
        this.requestURI = request.getRequestURI();
        this.servletPath = request.getServletPath();

    
Methods Summary
public java.lang.StringgetInfo()
Return descriptive information about this implementation.


        return (info);

    
public java.lang.StringgetPathInfo()
Override the getPathInfo() method of the wrapped request.



    // --------------------------------------------- HttpServletRequest Methods


                 
       

        return (this.pathInfo);

    
public java.lang.StringgetPathTranslated()
Override the getPathTranslated() method of the wrapped request.


        return (this.pathTranslated);

    
public java.lang.StringgetRequestURI()
Override the getRequestURI() method of the wrapped request.


        return (this.requestURI);

    
public java.lang.StringgetServletPath()
Override the getServletPath() method of the wrapped request.


        return (this.servletPath);

    
voidsetPathInfo(java.lang.String pathInfo)
Set the path information for this request.

param
pathInfo The new path info


        this.pathInfo = pathInfo;

    
voidsetPathTranslated(java.lang.String pathTranslated)
Set the translated path info for this request.

param
pathTranslated The new translated path info


        this.pathTranslated = pathTranslated;

    
voidsetRequestURI(java.lang.String requestURI)
Set the request URI for this request.

param
requestURI The new request URI


        this.requestURI = requestURI;

    
voidsetServletPath(java.lang.String servletPath)
Set the servlet path for this request.

param
servletPath The new servlet path


        this.servletPath = servletPath;