    All Packages  Class Hierarchy  This Package  Previous  Next  Index

# Class org.w3c.jigsaw.ssi.commands.ExecCommand

    java.lang.Object
       |
       +----org.w3c.jigsaw.ssi.commands.BasicCommand
               |
               +----org.w3c.jigsaw.ssi.commands.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.

##

ExecCommand()

##

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

##

ExecCommand

     public ExecCommand()

##

execute

     public Reply execute(SSIFrame ssiframe,
                          Request request,
                          ArrayDictionary parameters,
                          Dictionary variables)

  Executes this command.

  Overrides:
    execute in class BasicCommand

getName

     public String getName()

  Returns the name of this command.

  Overrides:
    getName in class BasicCommand

getValue

     public String getValue(Dictionary variables,
                            String variable,
                            Request request)

  Returns the (String) value of the given variable.

  Overrides:
    getValue in class BasicCommand

    All Packages  Class Hierarchy  This Package  Previous  Next  Index