org.archive.wayback.webapp
Class LiveWebAccessPoint
java.lang.Object
org.archive.wayback.util.webapp.AbstractRequestHandler
org.archive.wayback.webapp.LiveWebAccessPoint
- All Implemented Interfaces:
- RequestHandler, org.springframework.beans.factory.BeanNameAware
public class LiveWebAccessPoint
- extends AbstractRequestHandler
- Author:
- brad
RequestHandler which satisfies all incoming requests through a LiveWebCache,
using an internal AccessPoint to rewrite replayed documents.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LiveWebAccessPoint
public LiveWebAccessPoint()
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.
- 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.
getCache
public LiveWebCache getCache()
- Returns:
- the cache
setCache
public void setCache(LiveWebCache cache)
- Parameters:
cache - the cache to set
getRobotFactory
public RobotExclusionFilterFactory getRobotFactory()
- Returns:
- the robotFactory
setRobotFactory
public void setRobotFactory(RobotExclusionFilterFactory robotFactory)
- Parameters:
robotFactory - the robotFactory to set
getInner
public AccessPoint getInner()
- Returns:
- the inner
setInner
public void setInner(AccessPoint inner)
- Parameters:
inner - the inner to set
Copyright © 2005-2011 Internet Archive. All Rights Reserved.