com.raritantechnologies.quickstart.userInterface
Class FullTextServlet

java.lang.Object
  extended byHttpServlet
      extended bycom.raritantechnologies.quickstart.userInterface.FullTextServlet
All Implemented Interfaces:
IConfigurable, IServletHandler

public class FullTextServlet
extends HttpServlet
implements IServletHandler

Executes a full text URL on behalf of a federated client.

XML Configuration Template:
   <SystemObject type="SearchServlet" name="[ servlet handler name ]"
                    class="com.raritantechnologies.quickstart.userInterface.FullTextServlet"
                    finalAction="[ FILTER_REDIRECT | LAST_REDIRECT ]"
                    addBaseTag="[ true | false(default) ]" >

     <!-- Optional StringFilter for HTML pages -->
     <PageFilter class="[ class of com.raritantechnologies.utils.filter.IStringFilter ]" >

     </PageFilter>

   </SystemObject>
 

See Also:
Serialized Form

Constructor Summary
FullTextServlet()
           
 
Method Summary
 void init()
           
 void init(SearchServlet searchServlet)
           
 void initialize(org.w3c.dom.Element elem)
          Initializes the object from an XML tag or element.
 void service(DynamicHttpServletRequest pReq, HttpServletResponse pRes)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FullTextServlet

public FullTextServlet()
Method Detail

init

public void init(SearchServlet searchServlet)
Specified by:
init in interface IServletHandler

init

public void init()

initialize

public void initialize(org.w3c.dom.Element elem)
Description copied from interface: IConfigurable
Initializes the object from an XML tag or element. This method is called by the Framework as part of the application initializtion. see ConfigurationManager, XMLConfigurationManager, XMLSearchFieldMapFactory, XMLSearchSourceFactory. Configurable objects that are owned or contained by other configurable objects will be initialized in by the parent object.

Specified by:
initialize in interface IConfigurable

service

public void service(DynamicHttpServletRequest pReq,
                    HttpServletResponse pRes)
             throws ServletException,
                    java.io.IOException
Specified by:
service in interface IServletHandler
Throws:
ServletException
java.io.IOException