public class ProxyRequestParser extends CompositeRequestParser
DEFAULT_MAX_RECORDS, QUERY_BASE, REPLAY_BASE, XQUERY_BASE| Constructor and Description |
|---|
ProxyRequestParser() |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getLocalhostNames() |
protected RequestParser[] |
getRequestParsers() |
boolean |
isAddDefaults() |
WaybackRequest |
parse(javax.servlet.http.HttpServletRequest httpRequest,
AccessPoint wbContext)
attempt to transform an incoming HttpServletRequest into a
WaybackRequest object. returns null if there is missing information.
|
void |
setAddDefaults(boolean addDefaults) |
void |
setLocalhostNames(List<String> localhostNames) |
initgetEarliestTimestamp, getLatestTimestamp, getMaxRecords, setEarliestTimestamp, setLatestTimestamp, setMaxRecordsprotected RequestParser[] getRequestParsers()
getRequestParsers in class CompositeRequestParserpublic WaybackRequest parse(javax.servlet.http.HttpServletRequest httpRequest, AccessPoint wbContext) throws BadQueryException, BetterRequestException
RequestParserparse in interface RequestParserparse in class CompositeRequestParserhttpRequest - ServletHttpRequest being handledwbContext - AccessPoint which is attempting to parse the requestBadQueryException - if the request could match this AccessPoint,
but is malformed: invalid datespec, URL, or flagsBetterRequestException - if the request should be redirected to
provide better user feedback (corrected URL/date in address bar)public boolean isAddDefaults()
public void setAddDefaults(boolean addDefaults)
addDefaults - the addDefaults to setCopyright © 2005–2015 IIPC. All rights reserved.