Listing of Source cgi/IncludeCgiHtmlResourceInterface.java
package se.entra.phantom.server.http;

import java.io.IOException;
import org.w3c.dom.Element;

/**
 * This interface is implemented by classes acting as "CGI includes" in an HTML
 * document for the NetPhantom Web Server.
 */
public interface IncludeCgiHtmlResourceInterface
{
  /**
   * This method should return an <code>HtmlResource</code> instance with the document
   * that should be sent to the client.
   *
   * @throws  IOException  for IO errors.
   */
  public abstract HtmlResource performAction(HttpSession session,
                                             HttpResource httpResource,
                                             Element element) throws IOException;
}