public class PathPrefixDatePrefixQueryRequestParser extends DateUrlPathRequestParser
DEFAULT_MAX_RECORDS, QUERY_BASE, REPLAY_BASE, XQUERY_BASE
Constructor and Description |
---|
PathPrefixDatePrefixQueryRequestParser(BaseRequestParser wrapped) |
Modifier and Type | Method and Description |
---|---|
protected WaybackRequest |
parseDateUrl(String dateStr,
String urlStr)
parse
dateStr and urlStr and return WaybackRequest object. |
parse
parse
getEarliestTimestamp, getLatestTimestamp, getMaxRecords
setEarliestTimestamp, setLatestTimestamp, setMaxRecords
public PathPrefixDatePrefixQueryRequestParser(BaseRequestParser wrapped)
wrapped
- BaseRequestParser which provides general configurationprotected WaybackRequest parseDateUrl(String dateStr, String urlStr)
DateUrlPathRequestParser
dateStr
and urlStr
and return WaybackRequest
object.parseDateUrl
in class DateUrlPathRequestParser
dateStr
- the first path component, %-decoded.urlStr
- everything after the first slash, non-decoded.WaybackRequest
with parse result, or null
if either
dateStr
or urlStr
does not match expected syntax.Copyright © 2005–2015 IIPC. All rights reserved.