public class DomainPrefixRequestParser extends WrappedRequestParser
DEFAULT_MAX_RECORDS, QUERY_BASE, REPLAY_BASE, XQUERY_BASE
Constructor and Description |
---|
DomainPrefixRequestParser(BaseRequestParser wrapped) |
Modifier and Type | Method and Description |
---|---|
String |
getHostPort() |
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 |
setHostPort(String hostPort) |
getEarliestTimestamp, getLatestTimestamp, getMaxRecords
setEarliestTimestamp, setLatestTimestamp, setMaxRecords
public DomainPrefixRequestParser(BaseRequestParser wrapped)
wrapped
- 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 String getHostPort()
public void setHostPort(String hostPort)
hostPort
- the hostPort to setCopyright © 2005–2015 IIPC. All rights reserved.