org.archive.wayback.proxy
Class ProxyReplayRequestParser

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

public class ProxyReplayRequestParser
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
ProxyReplayRequestParser()
           
 
Method Summary
 java.util.List<java.lang.String> getLocalhostNames()
           
 void init()
           
 WaybackRequest parse(javax.servlet.http.HttpServletRequest httpRequest, AccessPoint wbContext)
          attempt to transform an incoming HttpServletRequest into a WaybackRequest object.
 void setLocalhostNames(java.util.List<java.lang.String> localhostNames)
           
 
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

ProxyReplayRequestParser

public ProxyReplayRequestParser()
Method Detail

init

public void init()

parse

public WaybackRequest parse(javax.servlet.http.HttpServletRequest httpRequest,
                            AccessPoint wbContext)
                     throws BadQueryException
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.
Throws:
BadQueryException

getLocalhostNames

public java.util.List<java.lang.String> getLocalhostNames()

setLocalhostNames

public void setLocalhostNames(java.util.List<java.lang.String> localhostNames)


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