FileDocCategorySizeDatePackage
JWSSystemServletRequestWrapper.javaAPI DocGlassfish v2 API3083Fri May 04 22:34:12 BST 2007com.sun.enterprise.appclient.jws

JWSSystemServletRequestWrapper

public class JWSSystemServletRequestWrapper extends HttpServletRequestWrapper
The request wrapper object by which static document requests are delegated to the default servlet implementation.
author
tjquinn

Fields Summary
private URI
relativeFileURI
URI of the content requested, relative to the app server's installation directory
Constructors Summary
public JWSSystemServletRequestWrapper(HttpServletRequest request, URI relativeFileURI)
Creates a new instance of JWSSystemServletRequestWrapper

        super(request);
        this.relativeFileURI = relativeFileURI;
    
Methods Summary
public java.lang.StringgetPathInfo()
Overrides the default implementation to provide the web container with the correct path, relative to the actual doc base which is the installation directory of the app server.

return
String containing the path information for the document

        return "/" + relativeFileURI.toString();