FileDocCategorySizeDatePackage
InvokerHttpRequest.javaAPI DocGlassfish v2 API6249Fri May 04 22:32:18 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: 1.3 $ $Date: 2007/05/05 05:32:18 $

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.
protected static org.apache.catalina.util.StringManager
sm
The string manager for this package.
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 (this.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;