com.antiaction.mayhem.httpd
Class ContextManager

java.lang.Object
  extended by com.antiaction.mayhem.httpd.ContextManager

public class ContextManager
extends java.lang.Object

Context manager.

Version:
1.00
Author:
Nicholas Clarke

Constructor Summary
ContextManager(ServletContextInternal context, java.lang.String contextPath, java.lang.String filesystemPath)
          Initialize a Context Manager with the document root / default context.
 
Method Summary
 void add(ServletContextInternal context, java.lang.String contextPath, java.lang.String filesystemPath)
          Adds a context to the application.
 ServletContextInternal get(java.util.List arrAbsPath)
           
 ServletContextInternal get(java.lang.String uri)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContextManager

public ContextManager(ServletContextInternal context,
                      java.lang.String contextPath,
                      java.lang.String filesystemPath)
Initialize a Context Manager with the document root / default context.

Parameters:
context - default internal context.
contextPath - ignored, "" used.
filesystemPath - equal to document root.
Method Detail

add

public void add(ServletContextInternal context,
                java.lang.String contextPath,
                java.lang.String filesystemPath)
Adds a context to the application.

Parameters:
context - internal context object.
contextPath - absolute path.
filesystemPath - path on local filesystem.

get

public ServletContextInternal get(java.lang.String uri)

get

public ServletContextInternal get(java.util.List arrAbsPath)


Copyright © 2001-2004 Nicholas Clarke. All Rights Reserved.