org.archive.wayback.archivalurl.requestparser
Class PathPrefixDatePrefixQueryRequestParser
java.lang.Object
org.archive.wayback.requestparser.BaseRequestParser
org.archive.wayback.requestparser.WrappedRequestParser
org.archive.wayback.requestparser.PathRequestParser
org.archive.wayback.archivalurl.requestparser.PathPrefixDatePrefixQueryRequestParser
- All Implemented Interfaces:
- RequestParser
public class PathPrefixDatePrefixQueryRequestParser
- extends PathRequestParser
RequestParser implementation that extracts request info from an Archival Url
representing an url prefix and a date prefix.
- 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 |
PathPrefixDatePrefixQueryRequestParser
public PathPrefixDatePrefixQueryRequestParser(BaseRequestParser wrapped)
- Parameters:
wrapped - BaseRequestParser which provides general configuration
parse
public WaybackRequest parse(String requestPath,
AccessPoint ap)
- Description copied from class:
PathRequestParser
- attempt to transform an incoming HttpServletRequest into a
WaybackRequest object. returns null if there is missing information.
- Specified by:
parse in class PathRequestParser
- Parameters:
requestPath - the AccessPoint relative path as received by the
AccessPointap - AccessPoint which is attempting to parse the request
- Returns:
- populated WaybackRequest object if successful, null otherwise.
Copyright © 2005-2011 Internet Archive. All Rights Reserved.