org.liquidsite.app.install
Class InstallRequestProcessor

java.lang.Object
  extended byorg.liquidsite.app.servlet.RequestProcessor
      extended byorg.liquidsite.app.install.InstallRequestProcessor

public class InstallRequestProcessor
extends RequestProcessor

The installation request processor. This processor differs from the other processors in that it uses instance variables to keep session information. This makes this processor impossible to use in a multi-user scenario, but the installation process is supposed to be run by a single user.


Constructor Summary
InstallRequestProcessor(Application app)
          Creates a new install request processor.
 
Method Summary
 void destroy()
          Destroys this request processor.
 void process(Request request)
          Processes a request.
 
Methods inherited from class org.liquidsite.app.servlet.RequestProcessor
getContentManager, getFile, processLiquidSite, processNormal, sendContent, sendTemplate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InstallRequestProcessor

public InstallRequestProcessor(Application app)
Creates a new install request processor.

Parameters:
app - the application context
Method Detail

destroy

public void destroy()
Destroys this request processor. This method frees all internal resources used by this processor.

Specified by:
destroy in class RequestProcessor

process

public void process(Request request)
             throws RequestException
Processes a request.

Specified by:
process in class RequestProcessor
Parameters:
request - the request object to process
Throws:
RequestException - if the request couldn't be processed