org.archive.wayback.domainprefix
Class DomainPrefixRequestParser
java.lang.Object
org.archive.wayback.requestparser.BaseRequestParser
org.archive.wayback.requestparser.WrappedRequestParser
org.archive.wayback.domainprefix.DomainPrefixRequestParser
- All Implemented Interfaces:
- RequestParser
public class DomainPrefixRequestParser
- extends WrappedRequestParser
- Version:
- $Date: 2010-09-29 05:28:38 +0700 (Wed, 29 Sep 2010) $, $Revision: 3262 $
- Author:
- brad
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DomainPrefixRequestParser
public DomainPrefixRequestParser(BaseRequestParser wrapped)
- Parameters:
wrapped -
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
- Parameters:
httpRequest - ServletHttpRequest being handledwbContext - AccessPoint which is attempting to parse the request
- Returns:
- populated WaybackRequest object if successful, null otherwise.
- Throws:
BadQueryException - if the request could match this AccessPoint,
but is malformed: invalid datespec, URL, or flags
getHostPort
public String getHostPort()
- Returns:
- the hostPort
setHostPort
public void setHostPort(String hostPort)
- Parameters:
hostPort - the hostPort to set
Copyright © 2005-2011 Internet Archive. All Rights Reserved.