All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class w3c.jigsaw.ssi.ExecCommand

java.lang.Object
   |
   +----w3c.jigsaw.ssi.BasicCommand
           |
           +----w3c.jigsaw.ssi.ExecCommand

public class ExecCommand
extends BasicCommand
Implementation of the SSI exec command. It inserts the output from a CGI script or a shell command in the document. Note that in the Jigsaw architecture CGI scripts are just another resource class, so that no distinction is made between executing a CGI script or including a file. Relies on variables set by DefaultCommandRegistry.


Constructor Index

 o ExecCommand()

Method Index

 o execute(SSIResource, Request, ArrayDictionary, Dictionary)
Executes this command.
 o getName()
Returns the name of this command.
 o getValue(Dictionary, String)
Returns the (String) value of the given variable.

Constructors

 o ExecCommand
 public ExecCommand()

Methods

 o execute
 public Reply execute(SSIResource resource,
                      Request request,
                      ArrayDictionary parameters,
                      Dictionary variables)
Executes this command.

Overrides:
execute in class BasicCommand
 o getName
 public String getName()
Returns the name of this command.

Overrides:
getName in class BasicCommand
 o getValue
 public String getValue(Dictionary variables,
                        String variable)
Returns the (String) value of the given variable.

Overrides:
getValue in class BasicCommand

All Packages  Class Hierarchy  This Package  Previous  Next  Index