| org.w3c.jigsaw.ssi.commands.Command
All known Subclasses: org.w3c.jigsaw.ssi.commands.CounterCommand, org.w3c.jigsaw.ssi.commands.ConfigCommand, org.w3c.jigsaw.ssi.jdbc.jdbcCommand, org.w3c.jigsaw.ssi.servlets.ServletCommand, org.w3c.jigsaw.ssi.commands.EchoCommand, org.w3c.jigsaw.ssi.commands.BasicCommand, org.w3c.jigsaw.ssi.commands.CookieCommand,
Command | public interface Command (Code) | | This interface is used to supply implementations of SSI
commands. They have to be registered in a CommandRegistry, which in
turn is used by the SSIFrame.
See Also: org.w3c.jigsaw.ssi.commands.CommandRegistry author: Antonio Ramirez |
acceptCaching | public boolean acceptCaching()(Code) | | return true if reply can be cached.
a boolean. |
execute | public Reply execute(SSIFrame resource, Request request, ArrayDictionary parameters, Dictionary variables)(Code) | | Executes this command. Might modify variables.
Must not modify the parameters.
It may handle conditional requests, except that if
it replies with a status of HTTP.NOT_MODIFIED, it must
still reply with a content (the same content that it would have
returned for an inconditional request). This is because
further SSI commands down the line may decide thay they have
been modified, and then a content must be emitted by SSIFrame.
Parameters: request - the original HTTP request Parameters: parameters - The parameters for this command Parameters: variables - The global variables for the parse a Reply with the output from the command |
|
|