| java.lang.Object net.homeip.donaldm.httpdbase4j.RequestHandler net.homeip.donaldm.httpdbase4j.ArchiveRequestHandler
ArchiveRequestHandler | public class ArchiveRequestHandler extends RequestHandler implements HttpHandler(Code) | | An abstraction of a handler for archive or classpath based HTTP requests.
author: Donald Munro |
Constructor Summary | |
public | ArchiveRequestHandler(ArchiveHttpd httpd, File homeDir, java.io.File localHomeDir, boolean isVerbose) Create a ArchiveRequestHandler.
Parameters: httpd - - The Httpd instance Parameters: homeDir - The base directory within the compressed file containingthe web resources. |
m_homeDir | protected File m_homeDir(Code) | | The base directory within the archive containing the web content.
|
m_localHomeDir | protected java.io.File m_localHomeDir(Code) | | A directory on the file system that can be used for creating dynamic
content
|
ArchiveRequestHandler | public ArchiveRequestHandler(ArchiveHttpd httpd, File homeDir, java.io.File localHomeDir, boolean isVerbose)(Code) | | Create a ArchiveRequestHandler.
Parameters: httpd - - The Httpd instance Parameters: homeDir - The base directory within the compressed file containingthe web resources. Must be an instance of a TrueZip File ie de.schlichtherle.io.File Parameters: localHomeDir - - A directory on the file system that can be used for creating dynamic content. If null then the alternate home in JatHttpd is used and if that isnull then a directory is created in the temporary directory. Parameters: isVerbose - |
handle | public void handle(HttpExchange ex)(Code) | | |
|
|