Class CGIServlet.CGIRunner

java.lang.Object
org.apache.catalina.servlets.CGIServlet.CGIRunner
Enclosing class:
CGIServlet

protected class CGIServlet.CGIRunner extends Object
Encapsulates the knowledge of how to run a CGI script, given the script's desired environment and (optionally) input/output streams

Exposes a run method used to actually invoke the CGI.

The CGI environment and settings are derived from the information passed to the constructor.

The input and output streams can be set by the setInput and setResponse methods, respectively.