FileDocCategorySizeDatePackage
DummyRequest.javaAPI DocApache Tomcat 6.0.149641Fri Jul 20 04:20:34 BST 2007org.apache.catalina.core

DummyRequest

public class DummyRequest extends Object implements HttpServletRequest
Dummy request object, used for request dispatcher mapping, as well as JSP precompilation.
author
Remy Maucherat
version
$Revision: 467222 $ $Date: 2006-10-24 05:17:11 +0200 (mar., 24 oct. 2006) $

Fields Summary
protected String
contextPath
protected String
decodedURI
protected String
queryString
protected String
pathInfo
protected String
servletPath
protected org.apache.catalina.Wrapper
wrapper
protected FilterChain
filterChain
private static Enumeration
dummyEnum
Constructors Summary
public DummyRequest()

    
public DummyRequest(String contextPath, String decodedURI, String queryString)

        this.contextPath = contextPath;
        this.decodedURI = decodedURI;
        this.queryString = queryString;
    
Methods Summary
public voidaddCookie(javax.servlet.http.Cookie cookie)

public voidaddHeader(java.lang.String name, java.lang.String value)

public voidaddLocale(java.util.Locale locale)

public voidaddParameter(java.lang.String name, java.lang.String[] values)

public voidclearCookies()

public voidclearHeaders()

public voidclearLocales()

public voidclearParameters()

public javax.servlet.ServletInputStreamcreateInputStream()

        return null;
    
public voidfinishRequest()

public java.lang.ObjectgetAttribute(java.lang.String name)

 return null; 
public java.util.EnumerationgetAttributeNames()

 return null; 
public java.lang.StringgetAuthType()

 return null; 
public java.lang.StringgetAuthorization()

 return null; 
public java.lang.StringgetCharacterEncoding()

 return null; 
public org.apache.catalina.connector.ConnectorgetConnector()

 return null; 
public intgetContentLength()

 return -1; 
public java.lang.StringgetContentType()

 return null; 
public org.apache.catalina.ContextgetContext()

 return null; 
public java.lang.StringgetContextPath()


       
        return (contextPath);
    
public org.apache.tomcat.util.buf.MessageBytesgetContextPathMB()

        return null;
    
public javax.servlet.http.Cookie[]getCookies()

 return null; 
public longgetDateHeader(java.lang.String name)

 return -1; 
public java.lang.StringgetDecodedRequestURI()

        return decodedURI;
    
public org.apache.tomcat.util.buf.MessageBytesgetDecodedRequestURIMB()

        return null;
    
public javax.servlet.FilterChaingetFilterChain()

        return (this.filterChain);
    
public java.lang.StringgetHeader(java.lang.String name)

 return null; 
public java.util.EnumerationgetHeaderNames()

 return null; 
public java.util.EnumerationgetHeaders(java.lang.String name)

 return null; 
public org.apache.catalina.HostgetHost()

 return null; 
public java.lang.StringgetInfo()

 return null; 
public javax.servlet.ServletInputStreamgetInputStream()

        return null;
    
public intgetIntHeader(java.lang.String name)

 return -1; 
public java.lang.StringgetLocalAddr()

 return null; 
public java.lang.StringgetLocalName()

 return null; 
public intgetLocalPort()

 return -1; 
public java.util.LocalegetLocale()

 return null; 
public java.util.EnumerationgetLocales()

 return null; 
public java.lang.StringgetMethod()

 return null; 
public java.lang.ObjectgetNote(java.lang.String name)

 return null; 
public java.util.IteratorgetNoteNames()

 return null; 
public java.lang.StringgetParameter(java.lang.String name)

 return null; 
public java.util.MapgetParameterMap()

 return null; 
public java.util.EnumerationgetParameterNames()

 return dummyEnum; 
public java.lang.String[]getParameterValues(java.lang.String name)

 return null; 
public java.lang.StringgetPathInfo()

        return pathInfo;
    
public org.apache.tomcat.util.buf.MessageBytesgetPathInfoMB()

        return null;
    
public java.lang.StringgetPathTranslated()

 return null; 
public java.lang.StringgetProtocol()

 return null; 
public java.lang.StringgetQueryString()

        return queryString;
    
public java.io.BufferedReadergetReader()

 return null; 
public java.lang.StringgetRealPath(java.lang.String path)

 return null; 
public java.lang.StringgetRemoteAddr()

 return null; 
public java.lang.StringgetRemoteHost()

 return null; 
public intgetRemotePort()

 return -1; 
public java.lang.StringgetRemoteUser()

 return null; 
public javax.servlet.ServletRequestgetRequest()

        return (this);
    
public javax.servlet.RequestDispatchergetRequestDispatcher(java.lang.String path)

        return null;
    
public org.apache.tomcat.util.buf.MessageBytesgetRequestPathMB()

        return null;
    
public java.lang.StringgetRequestURI()

 return null; 
public java.lang.StringBuffergetRequestURL()

 return null; 
public java.lang.StringgetRequestedSessionId()

 return null; 
public org.apache.catalina.connector.ResponsegetResponse()

 return null; 
public java.lang.StringgetScheme()

 return null; 
public java.lang.StringgetServerName()

 return null; 
public intgetServerPort()

 return -1; 
public java.lang.StringgetServletPath()

        return servletPath;
    
public org.apache.tomcat.util.buf.MessageBytesgetServletPathMB()

        return null;
    
public javax.servlet.http.HttpSessiongetSession()

 return null; 
public javax.servlet.http.HttpSessiongetSession(boolean create)

 return null; 
public java.net.SocketgetSocket()

 return null; 
public java.io.InputStreamgetStream()

 return null; 
public java.security.PrincipalgetUserPrincipal()

 return null; 
public org.apache.catalina.WrappergetWrapper()

        return (this.wrapper);
    
public booleanisRequestedSessionIdFromCookie()

 return false; 
public booleanisRequestedSessionIdFromURL()

 return false; 
public booleanisRequestedSessionIdFromUrl()

 return false; 
public booleanisRequestedSessionIdValid()

 return false; 
public booleanisSecure()

 return false; 
public booleanisUserInRole(java.lang.String role)

 return false; 
public voidrecycle()

public voidremoveAttribute(java.lang.String name)

public voidremoveNote(java.lang.String name)

public voidsetAttribute(java.lang.String name, java.lang.Object value)

public voidsetAuthType(java.lang.String authType)

public voidsetAuthorization(java.lang.String authorization)

public voidsetCharacterEncoding(java.lang.String enc)

public voidsetConnector(org.apache.catalina.connector.Connector connector)

public voidsetContentLength(int length)

public voidsetContentType(java.lang.String type)

public voidsetContext(org.apache.catalina.Context context)

public voidsetContextPath(java.lang.String path)

public voidsetDecodedRequestURI(java.lang.String uri)

public voidsetFilterChain(javax.servlet.FilterChain filterChain)

        this.filterChain = filterChain;
    
public voidsetHost(org.apache.catalina.Host host)

public voidsetMethod(java.lang.String method)

public voidsetNote(java.lang.String name, java.lang.Object value)

public voidsetPathInfo(java.lang.String path)

        pathInfo = path;
    
public voidsetProtocol(java.lang.String protocol)

public voidsetQueryString(java.lang.String query)

        queryString = query;
    
public voidsetRemoteAddr(java.lang.String remoteAddr)

public voidsetRemoteHost(java.lang.String remoteHost)

public voidsetRequestURI(java.lang.String uri)

public voidsetRequestedSessionCookie(boolean flag)

public voidsetRequestedSessionId(java.lang.String id)

public voidsetRequestedSessionURL(boolean flag)

public voidsetResponse(org.apache.catalina.connector.Response response)

public voidsetScheme(java.lang.String scheme)

public voidsetSecure(boolean secure)

public voidsetServerName(java.lang.String name)

public voidsetServerPort(int port)

public voidsetServletPath(java.lang.String path)

        servletPath = path;
    
public voidsetSocket(java.net.Socket socket)

public voidsetStream(java.io.InputStream input)

public voidsetUserPrincipal(java.security.Principal principal)

public voidsetWrapper(org.apache.catalina.Wrapper wrapper)

        this.wrapper = wrapper;