/***********************************************************************
 *
 * JISC.BasicHandler.java
 *
 * ---------------------------------------------------------------------
 *
 * @author Dennis Laws
 * @version 0.0
 *
 ***********************************************************************/

//*********************//
//      Package        //
//*********************//
package JISC;

//*********************//
//      Imports        //
//*********************//
import java.io.*;
import javax.servlet.*;
import javax.servlet.http.*;


/***********************************************************************
 * This interface specifies a basic handler which supports the
 * processing of servlet requests.
 ***********************************************************************/
public interface BasicHandler
{
    /*******************************************************************
     * Performs primary processing of client request.
     *
     * @param   request     Provides incoming information from
     *                      requesting client.
     * @param   response    Provides resources for sending information
     *                      to the requesting client.
     *******************************************************************/
    public void doProcessing( HttpServletRequest request,
                              HttpServletResponse response )
        throws ServletException, IOException;


    /*******************************************************************
     * Returns the name of this handler.
     * @return  The name associated with this BasicHandler class.
     *******************************************************************/
    public String getName();


}
