org.archive.wayback.webapp
Class RequestMapper
java.lang.Object
org.archive.wayback.webapp.RequestMapper
public class RequestMapper
- extends java.lang.Object
RequestMapper accepts a request, and maps that request to
a WaybackContext suitable for that request.
This object is a singleton, and the class provides methods for constructing
and accessing the singleton.
- Version:
- $Date$, $Revision$
- Author:
- brad
|
Constructor Summary |
RequestMapper(javax.servlet.ServletContext servletContext)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RequestMapper
public RequestMapper(javax.servlet.ServletContext servletContext)
throws ConfigurationException
- Parameters:
configPath - servletContext -
- Throws:
ConfigurationException
mapContext
public RequestContext mapContext(javax.servlet.http.HttpServletRequest request)
- Parameters:
request -
- Returns:
- WaybackContext that handles the specific incoming HTTP request
getAccessPointNamesOnPort
public java.util.ArrayList<java.lang.String> getAccessPointNamesOnPort(java.lang.String portStr)
destroy
public void destroy()
- clean up all WaybackContexts, which should release resources gracefully.
Copyright © 2005-2009 Internet Archive. All Rights Reserved.