org.archive.wayback.resourcestore.locationdb
Class ResourceFileLocationDBServlet
java.lang.Object
org.archive.wayback.webapp.ServletRequestContext
org.archive.wayback.resourcestore.locationdb.ResourceFileLocationDBServlet
- All Implemented Interfaces:
- RequestContext
public class ResourceFileLocationDBServlet
- extends ServletRequestContext
ServletRequestContext enabling remote HTTP GET/POST access to a local
ResourceFileLocationDB. See RemoveResourceFileLocationDB for the client
class implemented against this.
- Version:
- $Date: 2008-06-05 14:52:54 -0700 (Thu, 05 Jun 2008) $, $Revision: 2286 $
- Author:
- brad
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OPERATION_ARGUMENT
protected static final java.lang.String OPERATION_ARGUMENT
- See Also:
- Constant Field Values
NAME_ARGUMENT
protected static final java.lang.String NAME_ARGUMENT
- See Also:
- Constant Field Values
URL_ARGUMENT
protected static final java.lang.String URL_ARGUMENT
- See Also:
- Constant Field Values
START_ARGUMENT
protected static final java.lang.String START_ARGUMENT
- See Also:
- Constant Field Values
END_ARGUMENT
protected static final java.lang.String END_ARGUMENT
- See Also:
- Constant Field Values
LOOKUP_OPERATION
protected static final java.lang.String LOOKUP_OPERATION
- See Also:
- Constant Field Values
GETMARK_OPERATION
protected static final java.lang.String GETMARK_OPERATION
- See Also:
- Constant Field Values
GETRANGE_OPERATION
protected static final java.lang.String GETRANGE_OPERATION
- See Also:
- Constant Field Values
ADD_OPERATION
protected static final java.lang.String ADD_OPERATION
- See Also:
- Constant Field Values
REMOVE_OPERATION
protected static final java.lang.String REMOVE_OPERATION
- See Also:
- Constant Field Values
NO_LOCATION_PREFIX
protected static final java.lang.String NO_LOCATION_PREFIX
- See Also:
- Constant Field Values
ResourceFileLocationDBServlet
public ResourceFileLocationDBServlet()
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.