org.apache.catalina.ssi

Interface SSICommand

public interface SSICommand

The interface that all SSI commands ( SSIEcho, SSIInclude, ...) must implement.

Version: $Revision: 531303 $, $Date: 2007-04-23 02:24:01 +0200 (Mon, 23 Apr 2007) $

Author: Bip Thelin Dan Sandberg David Becker

Method Summary
longprocess(SSIMediator ssiMediator, String commandName, String[] paramNames, String[] paramValues, PrintWriter writer)
Write the output of the command to the writer.

Method Detail

process

public long process(SSIMediator ssiMediator, String commandName, String[] paramNames, String[] paramValues, PrintWriter writer)
Write the output of the command to the writer.

Parameters: ssiMediator the ssi mediator commandName the name of the actual command ( ie. echo ) paramNames The parameter names paramValues The parameter values writer the writer to output to

Returns: the most current modified date resulting from any SSI commands

Throws: SSIStopProcessingException if SSI processing should be aborted

Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.