org.archive.wayback.resourcestore.locationdb
Class ResourceFileLocationDBServlet
java.lang.Object
org.archive.wayback.util.webapp.AbstractRequestHandler
org.archive.wayback.resourcestore.locationdb.ResourceFileLocationDBServlet
- All Implemented Interfaces:
- RequestHandler, org.springframework.beans.factory.BeanNameAware
public class ResourceFileLocationDBServlet
- extends AbstractRequestHandler
ServletRequestContext enabling remote HTTP GET/POST access to a local
ResourceFileLocationDB. See RemoveResourceFileLocationDB for the client
class implemented against this.
- Version:
- $Date: 2010-09-29 05:28:38 +0700 (Wed, 29 Sep 2010) $, $Revision: 3262 $
- 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 String OPERATION_ARGUMENT
- See Also:
- Constant Field Values
NAME_ARGUMENT
protected static final String NAME_ARGUMENT
- See Also:
- Constant Field Values
URL_ARGUMENT
protected static final String URL_ARGUMENT
- See Also:
- Constant Field Values
START_ARGUMENT
protected static final String START_ARGUMENT
- See Also:
- Constant Field Values
END_ARGUMENT
protected static final String END_ARGUMENT
- See Also:
- Constant Field Values
LOOKUP_OPERATION
protected static final String LOOKUP_OPERATION
- See Also:
- Constant Field Values
GETMARK_OPERATION
protected static final String GETMARK_OPERATION
- See Also:
- Constant Field Values
GETRANGE_OPERATION
protected static final String GETRANGE_OPERATION
- See Also:
- Constant Field Values
ADD_OPERATION
protected static final String ADD_OPERATION
- See Also:
- Constant Field Values
REMOVE_OPERATION
protected static final String REMOVE_OPERATION
- See Also:
- Constant Field Values
NO_LOCATION_PREFIX
protected static final 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 IOException,
javax.servlet.ServletException
- Description copied from interface:
RequestHandler
- Possibly handle an incoming HttpServletRequest, much like a normal
HttpServlet, but includes a return value.
- Parameters:
httpRequest - the incoming HttpServletRequesthttpResponse - the HttpServletResponse to return data to the client.
- Returns:
- true if the RequestHandler returned a response to the client,
false otherwise
- Throws:
IOException - for usual reasons.
javax.servlet.ServletException - for usual reasons.
getLocationDB
public ResourceFileLocationDB getLocationDB()
- Returns:
- the locationDB
setLocationDB
public void setLocationDB(ResourceFileLocationDB locationDB)
- Parameters:
locationDB - the locationDB to set
Copyright © 2005-2011 Internet Archive. All Rights Reserved.