Listing of Source cgi/CgiPrintInterface.javapackage se.entra.phantom.server.http;
import java.io.IOException;
import java.io.PrintWriter;
/**
* This interface is implemented by classes acting as "CGI programs" for the
* NetPhantom Web Server.
*/
public interface CgiPrintInterface
{
/**
* This method should print an HTML document to the <code>printWriter</code>.
* The current directory of the CGI for the client agent is defined in the
* <code>HttpSession</code> class instance.
*
* @throws IOException for IO errors.
*/
public abstract void performAction(HttpSession session,PrintWriter printWriter) throws IOException;
}