org.archive.wayback.liveweb
Class ARCRecordingProxy
java.lang.Object
org.archive.wayback.util.webapp.AbstractRequestHandler
org.archive.wayback.liveweb.ARCRecordingProxy
- All Implemented Interfaces:
- RequestHandler, ShutdownListener, org.springframework.beans.factory.BeanNameAware
public class ARCRecordingProxy
- extends AbstractRequestHandler
- implements ShutdownListener
- Author:
- brad
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ARCRecordingProxy
public ARCRecordingProxy()
handleRequest
public boolean handleRequest(javax.servlet.http.HttpServletRequest httpRequest,
javax.servlet.http.HttpServletResponse httpResponse)
throws javax.servlet.ServletException,
IOException
- Description copied from interface:
RequestHandler
- Possibly handle an incoming HttpServletRequest, much like a normal
HttpServlet, but includes a return value.
- Specified by:
handleRequest in interface RequestHandler
- 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:
javax.servlet.ServletException - for usual reasons.
IOException - for usual reasons.
getArcCacheDir
public ARCCacheDirectory getArcCacheDir()
- Returns:
- the arcCacheDir
setArcCacheDir
public void setArcCacheDir(ARCCacheDirectory arcCacheDir)
- Parameters:
arcCacheDir - the arcCacheDir to set
getCacher
public URLtoARCCacher getCacher()
- Returns:
- the cacher
setCacher
public void setCacher(URLtoARCCacher cacher)
- Parameters:
cacher - the cacher to set
getExpiresMS
public long getExpiresMS()
- Returns:
- the expiresMS
setExpiresMS
public void setExpiresMS(long expiresMS)
- Parameters:
expiresMS - the expiresMS to set
getFakeExpiresMS
public long getFakeExpiresMS()
- Returns:
- the fakeExpiresMS
setFakeExpiresMS
public void setFakeExpiresMS(long fakeExpiresMS)
- Parameters:
fakeExpiresMS - the fakeExpiresMS to set
shutdown
public void shutdown()
- Description copied from interface:
ShutdownListener
- Called when the ServletContext is being destroyed.
- Specified by:
shutdown in interface ShutdownListener
Copyright © 2005-2011 Internet Archive. All Rights Reserved.