org.apache.solr.tst
Class TestRequestHandler

java.lang.Object
  extended by org.apache.solr.tst.TestRequestHandler
All Implemented Interfaces:
SolrInfoMBean, SolrRequestHandler

Deprecated. Test against the real request handlers instead.

@Deprecated
public class TestRequestHandler
extends Object
implements SolrRequestHandler

Version:
$Id: TestRequestHandler.java 1003745 2010-10-02 05:52:12Z koji $

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.solr.core.SolrInfoMBean
SolrInfoMBean.Category
 
Constructor Summary
TestRequestHandler()
          Deprecated.  
 
Method Summary
 SolrInfoMBean.Category getCategory()
          Deprecated. Purpose of this Class
 String getDescription()
          Deprecated. Simple one or two line description
 URL[] getDocs()
          Deprecated. Documentation URL list.
 String getName()
          Deprecated. Simple common usage name, e.g.
 String getSource()
          Deprecated. CVS Source, SVN Source, etc
 String getSourceId()
          Deprecated. CVS Id, SVN Id, etc
 org.apache.solr.common.util.NamedList getStatistics()
          Deprecated. Any statistics this instance would like to be publicly available via the Solr Administration interface.
 String getVersion()
          Deprecated. Simple common usage version, e.g.
 void handleRequest(SolrQueryRequest req, SolrQueryResponse rsp)
          Deprecated. Handles a query request, this method must be thread safe.
 void init(org.apache.solr.common.util.NamedList args)
          Deprecated. init will be called just once, immediately after creation.
 void test(boolean condition)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestRequestHandler

public TestRequestHandler()
Deprecated. 
Method Detail

init

public void init(org.apache.solr.common.util.NamedList args)
Deprecated. 
Description copied from interface: SolrRequestHandler
init will be called just once, immediately after creation.

The args are user-level initialization parameters that may be specified when declaring a request handler in solrconfig.xml

Specified by:
init in interface SolrRequestHandler

test

public void test(boolean condition)
Deprecated. 

handleRequest

public void handleRequest(SolrQueryRequest req,
                          SolrQueryResponse rsp)
Deprecated. 
Description copied from interface: SolrRequestHandler
Handles a query request, this method must be thread safe.

Information about the request may be obtained from req and response information may be set using rsp.

There are no mandatory actions that handleRequest must perform. An empty handleRequest implementation would fulfill all interface obligations.

Specified by:
handleRequest in interface SolrRequestHandler

getName

public String getName()
Deprecated. 
Description copied from interface: SolrInfoMBean
Simple common usage name, e.g. BasicQueryHandler, or fully qualified clas name.

Specified by:
getName in interface SolrInfoMBean

getVersion

public String getVersion()
Deprecated. 
Description copied from interface: SolrInfoMBean
Simple common usage version, e.g. 2.0

Specified by:
getVersion in interface SolrInfoMBean

getDescription

public String getDescription()
Deprecated. 
Description copied from interface: SolrInfoMBean
Simple one or two line description

Specified by:
getDescription in interface SolrInfoMBean

getCategory

public SolrInfoMBean.Category getCategory()
Deprecated. 
Description copied from interface: SolrInfoMBean
Purpose of this Class

Specified by:
getCategory in interface SolrInfoMBean

getSourceId

public String getSourceId()
Deprecated. 
Description copied from interface: SolrInfoMBean
CVS Id, SVN Id, etc

Specified by:
getSourceId in interface SolrInfoMBean

getSource

public String getSource()
Deprecated. 
Description copied from interface: SolrInfoMBean
CVS Source, SVN Source, etc

Specified by:
getSource in interface SolrInfoMBean

getDocs

public URL[] getDocs()
Deprecated. 
Description copied from interface: SolrInfoMBean
Documentation URL list.

Suggested documentation URLs: Homepage for sponsoring project, FAQ on class usage, Design doc for class, Wiki, bug reporting URL, etc...

Specified by:
getDocs in interface SolrInfoMBean

getStatistics

public org.apache.solr.common.util.NamedList getStatistics()
Deprecated. 
Description copied from interface: SolrInfoMBean
Any statistics this instance would like to be publicly available via the Solr Administration interface.

Any Object type may be stored in the list, but only the toString() representation will be used.

Specified by:
getStatistics in interface SolrInfoMBean


Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.