org.archive.wayback.resourcestore.locationdb
Class FileProxyServlet
java.lang.Object
org.archive.wayback.webapp.ServletRequestContext
org.archive.wayback.resourcestore.locationdb.FileProxyServlet
- All Implemented Interfaces:
- RequestContext
public class FileProxyServlet
- extends ServletRequestContext
ServletRequestContext interface which uses a ResourceFileLocationDB to
reverse proxy an incoming HTTP request for a file by name to it's actual
back-end location. This will also forward HTTP byte range requests to the
final location.
- Version:
- $Date: 2009-07-17 16:38:22 -0700 (Fri, 17 Jul 2009) $, $Revision: 2764 $
- Author:
- brad
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileProxyServlet
public FileProxyServlet()
handleRequest
public boolean handleRequest(javax.servlet.http.HttpServletRequest httpRequest,
javax.servlet.http.HttpServletResponse httpResponse)
throws java.io.IOException,
javax.servlet.ServletException
- Specified by:
handleRequest in interface RequestContext- Specified by:
handleRequest in class ServletRequestContext
- Returns:
- true if the RequestContent returned data to the client.
- Throws:
java.io.IOException
javax.servlet.ServletException
getLocationDB
public ResourceFileLocationDB getLocationDB()
- Returns:
- the locationDB
setLocationDB
public void setLocationDB(ResourceFileLocationDB locationDB)
- Parameters:
locationDB - the locationDB to set
Copyright © 2005-2009 Internet Archive. All Rights Reserved.