org.archive.wayback.requestparser
Class FormRequestParser

java.lang.Object
  extended by org.archive.wayback.requestparser.BaseRequestParser
      extended by org.archive.wayback.requestparser.FormRequestParser
All Implemented Interfaces:
RequestParser

public class FormRequestParser
extends BaseRequestParser

Version:
$Date$, $Revision$
Author:
brad

Field Summary
 
Fields inherited from class org.archive.wayback.requestparser.BaseRequestParser
DEFAULT_MAX_RECORDS, earliestTimestamp, latestTimestamp, maxRecords, QUERY_BASE, REPLAY_BASE, XQUERY_BASE
 
Constructor Summary
FormRequestParser()
           
 
Method Summary
 WaybackRequest parse(javax.servlet.http.HttpServletRequest httpRequest, AccessPoint wbContext)
          attempt to transform an incoming HttpServletRequest into a WaybackRequest object.
 
Methods inherited from class org.archive.wayback.requestparser.BaseRequestParser
getEarliestTimestamp, getLatestTimestamp, getMapParam, getMapParamOrEmpty, getMaxRecords, getRequiredMapParam, setEarliestTimestamp, setLatestTimestamp, setMaxRecords
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FormRequestParser

public FormRequestParser()
Method Detail

parse

public WaybackRequest parse(javax.servlet.http.HttpServletRequest httpRequest,
                            AccessPoint wbContext)
Description copied from interface: RequestParser
attempt to transform an incoming HttpServletRequest into a WaybackRequest object. returns null if there is missing information.

Specified by:
parse in interface RequestParser
Specified by:
parse in class BaseRequestParser
Returns:
populated WaybackRequest object if successful, null otherwise.


Copyright © 2005-2009 Internet Archive. All Rights Reserved.