se.entra.phantom.server.http
Interface CgiHtmlResourceInterface

All Known Implementing Classes:
HtmlApplicationCGI, HtmlMailFormCGI

public interface CgiHtmlResourceInterface

This interface is implemented by classes acting as "CGI programs" for the NetPhantom Web Server.


Method Summary
 HtmlResource performAction(HttpSession session)
          This method should return an HtmlResource instance with the document that should be sent to the client.
 

Method Detail

performAction

HtmlResource performAction(HttpSession session)
                           throws IOException
This method should return an HtmlResource instance with the document that should be sent to the client.

The current directory of the CGI for the client agent is defined in the HttpSession class instance as the resource requested without the "/name.cgi" text.

Throws:
IOException - for IO errors.


Phantom® and NetPhantom® are registered trademarks of Codectica Systems SARL.
© Copyright Codectica Systems SARL, 2008. All rights reserved.