public class FormRequestParser extends WrappedRequestParser
DEFAULT_MAX_RECORDS, QUERY_BASE, REPLAY_BASE, XQUERY_BASE
Constructor and Description |
---|
FormRequestParser(BaseRequestParser wrapped) |
Modifier and Type | Method and Description |
---|---|
WaybackRequest |
parse(javax.servlet.http.HttpServletRequest httpRequest,
AccessPoint accessPoint)
attempt to transform an incoming HttpServletRequest into a
WaybackRequest object. returns null if there is missing information.
|
getEarliestTimestamp, getLatestTimestamp, getMaxRecords
setEarliestTimestamp, setLatestTimestamp, setMaxRecords
public FormRequestParser(BaseRequestParser wrapped)
wrapped
- the BaseRequestParser being wrappedpublic WaybackRequest parse(javax.servlet.http.HttpServletRequest httpRequest, AccessPoint accessPoint) throws BetterRequestException
RequestParser
parse
in interface RequestParser
parse
in class BaseRequestParser
httpRequest
- ServletHttpRequest being handledaccessPoint
- AccessPoint which is attempting to parse the requestBetterRequestException
- if the request should be redirected to
provide better user feedback (corrected URL/date in address bar)Copyright © 2005–2015 IIPC. All rights reserved.