Package org.apache.catalina.ssi
Class SSIEcho
- java.lang.Object
- 
- org.apache.catalina.ssi.SSIEcho
 
- 
- All Implemented Interfaces:
- SSICommand
 
 public class SSIEcho extends java.lang.Object implements SSICommand Return the result associated with the supplied Server Variable.- Author:
- Bip Thelin, Paul Speed, Dan Sandberg, David Becker
 
- 
- 
Field SummaryFields Modifier and Type Field Description protected static java.lang.StringDEFAULT_ENCODINGprotected static java.lang.StringMISSING_VARIABLE_VALUE
 - 
Constructor SummaryConstructors Constructor Description SSIEcho()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleanisValidEncoding(java.lang.String encoding)longprocess(SSIMediator ssiMediator, java.lang.String commandName, java.lang.String[] paramNames, java.lang.String[] paramValues, java.io.PrintWriter writer)Write the output of the command to the writer.
 
- 
- 
- 
Field Detail- 
DEFAULT_ENCODINGprotected static final java.lang.String DEFAULT_ENCODING - See Also:
- Constant Field Values
 
 - 
MISSING_VARIABLE_VALUEprotected static final java.lang.String MISSING_VARIABLE_VALUE - See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
processpublic long process(SSIMediator ssiMediator, java.lang.String commandName, java.lang.String[] paramNames, java.lang.String[] paramValues, java.io.PrintWriter writer) Description copied from interface:SSICommandWrite the output of the command to the writer.- Specified by:
- processin interface- SSICommand
- 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
- See Also:
- SSICommand
 
 - 
isValidEncodingprotected boolean isValidEncoding(java.lang.String encoding) 
 
- 
 
-