All Packages Class Hierarchy This Package Previous Next Index
Class org.w3c.jigsaw.ssi.commands.CounterCommand
java.lang.Object
|
+----org.w3c.jigsaw.ssi.commands.CounterCommand
- public class CounterCommand
- extends Object
- implements Command
Implementation of the SSI counter command.
Used to do things like cpt = cpt + 1.
-
defaultinit
-
-
CounterCommand()
-
-
acceptCaching()
- return true if reply can be cached.
-
changeCounterValue(Dictionary, String, String)
-
-
execute(SSIFrame, Request, ArrayDictionary, Dictionary)
-
-
getCounterValue(Dictionary, String)
-
-
getName()
-
-
getValue(Dictionary, String, Request)
-
-
initCounterValue(Dictionary, String, String)
-
defaultinit
protected final int defaultinit
CounterCommand
public CounterCommand()
getName
public String getName()
getValue
public String getValue(Dictionary variables,
String var,
Request request)
initCounterValue
protected void initCounterValue(Dictionary d,
String name,
String value)
changeCounterValue
protected void changeCounterValue(Dictionary d,
String name,
String incr)
getCounterValue
protected int getCounterValue(Dictionary d,
String name)
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)
All Packages Class Hierarchy This Package Previous Next Index