org.archive.wayback.archivalurl.requestparser
Class ReplayRequestParser

java.lang.Object
  extended by org.archive.wayback.requestparser.BaseRequestParser
      extended by org.archive.wayback.requestparser.PathRequestParser
          extended by org.archive.wayback.archivalurl.requestparser.ReplayRequestParser
All Implemented Interfaces:
RequestParser

public class ReplayRequestParser
extends PathRequestParser

RequestParser implementation that extracts request info from a Replay Archival Url path.

Version:
$Date$, $Revision$
Author:
brad

Field Summary
 
Fields inherited from class org.archive.wayback.requestparser.BaseRequestParser
DEFAULT_MAX_RECORDS, earliestTimestamp, latestTimestamp, maxRecords, QUERY_BASE, REPLAY_BASE, XQUERY_BASE
 
Constructor Summary
ReplayRequestParser()
           
 
Method Summary
 WaybackRequest parse(java.lang.String requestPath)
           
 
Methods inherited from class org.archive.wayback.requestparser.PathRequestParser
parse
 
Methods inherited from class org.archive.wayback.requestparser.BaseRequestParser
getEarliestTimestamp, getLatestTimestamp, getMapParam, getMapParamOrEmpty, getMaxRecords, getRequiredMapParam, setEarliestTimestamp, setLatestTimestamp, setMaxRecords
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReplayRequestParser

public ReplayRequestParser()
Method Detail

parse

public WaybackRequest parse(java.lang.String requestPath)
Specified by:
parse in class PathRequestParser
Returns:
WaybackRequest with information parsed from the requestPath, or null if information could not be extracted.


Copyright © 2005-2009 Internet Archive. All Rights Reserved.