org.archive.wayback.util.webapp
Class RequestHandlerContext
java.lang.Object
org.archive.wayback.util.webapp.RequestHandlerContext
public class RequestHandlerContext
- extends Object
A simple composition of the RequestHandler which an HttpServletRequest was
mapped to, and the path prefix which indicated the RequestHandler. This
allows computing the portion of the original request path within the
RequestHandler.
- Author:
- brad
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RequestHandlerContext
public RequestHandlerContext(RequestHandler handler,
String pathPrefix)
- Constructor
- Parameters:
handler - the RequestHandler to which the incoming request was
mappedpathPrefix - the leading portion of the original request path that
indicated the RequestHandler
getRequestHandler
public RequestHandler getRequestHandler()
- Returns:
- the RequestHandler to which the incoming request was mapped.
getPathPrefix
public String getPathPrefix()
- Returns:
- the leading portion of the original request path that
indicated the RequestHandler
Copyright © 2005-2011 Internet Archive. All Rights Reserved.