public class ProxyReplayRequestParser extends WrappedRequestParser
DEFAULT_MAX_RECORDS, QUERY_BASE, REPLAY_BASE, XQUERY_BASE
Constructor and Description |
---|
ProxyReplayRequestParser(BaseRequestParser wrapped) |
Modifier and Type | Method and Description |
---|---|
List<String> |
getLocalhostNames() |
void |
init() |
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) |
getEarliestTimestamp, getLatestTimestamp, getMaxRecords
setEarliestTimestamp, setLatestTimestamp, setMaxRecords
public ProxyReplayRequestParser(BaseRequestParser wrapped)
wrapped
- public void init()
public WaybackRequest parse(javax.servlet.http.HttpServletRequest httpRequest, AccessPoint wbContext) throws BadQueryException
RequestParser
parse
in interface RequestParser
parse
in class BaseRequestParser
httpRequest
- 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 flagspublic boolean isAddDefaults()
public void setAddDefaults(boolean addDefaults)
addDefaults
- the addDefaults to setCopyright © 2005–2015 IIPC. All rights reserved.