public class ResourceFileLocationDBServlet extends AbstractRequestHandler
Modifier and Type | Field and Description |
---|---|
protected static String |
ADD_OPERATION |
protected static String |
END_ARGUMENT |
protected static String |
GETMARK_OPERATION |
protected static String |
GETRANGE_OPERATION |
protected static String |
LOOKUP_OPERATION |
protected static String |
NAME_ARGUMENT |
protected static String |
NO_LOCATION_PREFIX |
protected static String |
OPERATION_ARGUMENT |
protected static String |
REMOVE_OPERATION |
protected static String |
START_ARGUMENT |
protected static String |
URL_ARGUMENT |
Constructor and Description |
---|
ResourceFileLocationDBServlet() |
Modifier and Type | Method and Description |
---|---|
ResourceFileLocationDB |
getLocationDB() |
boolean |
handleRequest(javax.servlet.http.HttpServletRequest httpRequest,
javax.servlet.http.HttpServletResponse httpResponse)
Possibly handle an incoming HttpServletRequest, much like a normal
HttpServlet, but includes a return value.
|
void |
setLocationDB(ResourceFileLocationDB locationDB) |
getAccessPointPath, getBeanName, getInternalPort, getMapParam, getMapParamOrEmpty, getRequiredMapParam, getServletContext, registerPortListener, setAccessPointPath, setBeanName, setInternalPort, setServletContext, translateRequestPath, translateRequestPathQuery
protected static final String OPERATION_ARGUMENT
protected static final String NAME_ARGUMENT
protected static final String URL_ARGUMENT
protected static final String START_ARGUMENT
protected static final String END_ARGUMENT
protected static final String LOOKUP_OPERATION
protected static final String GETMARK_OPERATION
protected static final String GETRANGE_OPERATION
protected static final String ADD_OPERATION
protected static final String REMOVE_OPERATION
protected static final String NO_LOCATION_PREFIX
public boolean handleRequest(javax.servlet.http.HttpServletRequest httpRequest, javax.servlet.http.HttpServletResponse httpResponse) throws IOException, javax.servlet.ServletException
RequestHandler
httpRequest
- the incoming HttpServletRequesthttpResponse
- the HttpServletResponse to return data to the client.IOException
- for usual reasons.javax.servlet.ServletException
- for usual reasons.public ResourceFileLocationDB getLocationDB()
public void setLocationDB(ResourceFileLocationDB locationDB)
locationDB
- the locationDB to setCopyright © 2005–2015 IIPC. All rights reserved.