org.archive.access.nutch
Class NutchwaxOpenSearchServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by org.apache.nutch.searcher.OpenSearchServlet
              extended by org.archive.access.nutch.NutchwaxOpenSearchServlet
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class NutchwaxOpenSearchServlet
extends org.apache.nutch.searcher.OpenSearchServlet

Subclass of OpenSearchServlet from nutch. Adds in the Nutchwax plugins and does special encoding if there is a 'exacturl' in the query string parameter.

Author:
stack
See Also:
Serialized Form

Constructor Summary
NutchwaxOpenSearchServlet()
           
 
Method Summary
 void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 void init(javax.servlet.ServletConfig config)
           
 
Methods inherited from class org.apache.nutch.searcher.OpenSearchServlet
getLegalXml
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NutchwaxOpenSearchServlet

public NutchwaxOpenSearchServlet()
Method Detail

init

public void init(javax.servlet.ServletConfig config)
          throws javax.servlet.ServletException
Specified by:
init in interface javax.servlet.Servlet
Overrides:
init in class org.apache.nutch.searcher.OpenSearchServlet
Throws:
javax.servlet.ServletException

doGet

public void doGet(javax.servlet.http.HttpServletRequest request,
                  javax.servlet.http.HttpServletResponse response)
           throws javax.servlet.ServletException,
                  java.io.IOException
Overrides:
doGet in class org.apache.nutch.searcher.OpenSearchServlet
Throws:
javax.servlet.ServletException
java.io.IOException


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