    All Packages  Class Hierarchy  This Package  Previous  Next  Index

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

    java.lang.Object
       |
       +----org.w3c.jigsaw.ssi.commands.EchoCommand

public class EchoCommand
extends Object
implements Command

Implementation of the `echo` SSI command. As extensions, it has the parameters "reqstate" (for echoing Jigsaw request states) and "reqheader" (for echoing request header).

Also, it can take the flag "here", whose presence means that the variable is to be interpreted at the deepest request level (in the case of chained internal requests), instead of doing so at the top (external request) level. It inserts the value of a variable in the document.

##

EchoCommand()

##

acceptCaching()
  return true if reply can be cached.
execute(SSIFrame, Request, ArrayDictionary, Dictionary)
getName()
getValue(Dictionary, String, Request)

##

EchoCommand

     public EchoCommand()

##

acceptCaching

     public boolean acceptCaching()

  return true if reply can be cached.

  Returns:
    a boolean.

execute

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

getName

     public String getName()

getValue

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

    All Packages  Class Hierarchy  This Package  Previous  Next  Index