org.archive.wayback.archivalurl
Class ArchivalUrlRequestParser

java.lang.Object
  extended by org.archive.wayback.requestparser.BaseRequestParser
      extended by org.archive.wayback.requestparser.CompositeRequestParser
          extended by org.archive.wayback.archivalurl.ArchivalUrlRequestParser
All Implemented Interfaces:
RequestParser
Direct Known Subclasses:
MementoRequestParser

public class ArchivalUrlRequestParser
extends CompositeRequestParser

CompositeRequestParser that handles Archival Url Replay and Query requests, in addition to "standard" OpenSearch and Form RequestParsers.

Version:
$Date: 2010-09-29 05:28:38 +0700 (Wed, 29 Sep 2010) $, $Revision: 3262 $
Author:
brad

Field Summary
static String CHARSET_MODE
          Charset detection strategy context - should be followed by an integer indicating which strategy to use
static String CSS_CONTEXT
          text/css context
static String FLAG_DELIM
          delimiter character for datespec flags
static String IDENTITY_CONTEXT
          raw/identity context
static String IMG_CONTEXT
          image/* context
static String JS_CONTEXT
          text/javascript context
 
Fields inherited from class org.archive.wayback.requestparser.BaseRequestParser
DEFAULT_MAX_RECORDS, QUERY_BASE, REPLAY_BASE, XQUERY_BASE
 
Constructor Summary
ArchivalUrlRequestParser()
           
 
Method Summary
protected  RequestParser[] getRequestParsers()
           
 
Methods inherited from class org.archive.wayback.requestparser.CompositeRequestParser
init, parse
 
Methods inherited from class org.archive.wayback.requestparser.BaseRequestParser
getEarliestTimestamp, getLatestTimestamp, getMaxRecords, setEarliestTimestamp, setLatestTimestamp, setMaxRecords
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FLAG_DELIM

public static final String FLAG_DELIM
delimiter character for datespec flags

See Also:
Constant Field Values

JS_CONTEXT

public static final String JS_CONTEXT
text/javascript context

See Also:
Constant Field Values

CSS_CONTEXT

public static final String CSS_CONTEXT
text/css context

See Also:
Constant Field Values

IMG_CONTEXT

public static final String IMG_CONTEXT
image/* context

See Also:
Constant Field Values

IDENTITY_CONTEXT

public static final String IDENTITY_CONTEXT
raw/identity context

See Also:
Constant Field Values

CHARSET_MODE

public static final String CHARSET_MODE
Charset detection strategy context - should be followed by an integer indicating which strategy to use

See Also:
Constant Field Values
Constructor Detail

ArchivalUrlRequestParser

public ArchivalUrlRequestParser()
Method Detail

getRequestParsers

protected RequestParser[] getRequestParsers()
Specified by:
getRequestParsers in class CompositeRequestParser


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