public class SSIEcho extends Object implements SSICommand
Modifier and Type | Field and Description |
---|---|
protected static String |
DEFAULT_ENCODING |
protected static String |
MISSING_VARIABLE_VALUE |
Constructor and Description |
---|
SSIEcho() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
isValidEncoding(String encoding) |
long |
process(SSIMediator ssiMediator,
String commandName,
String[] paramNames,
String[] paramValues,
PrintWriter writer)
Write the output of the command to the writer.
|
protected static final String DEFAULT_ENCODING
protected static final String MISSING_VARIABLE_VALUE
public long process(SSIMediator ssiMediator, String commandName, String[] paramNames, String[] paramValues, PrintWriter writer)
SSICommand
process
in interface SSICommand
ssiMediator
- the ssi mediatorcommandName
- the name of the actual command ( ie. echo )paramNames
- The parameter namesparamValues
- The parameter valueswriter
- the writer to output toSSICommand
protected boolean isValidEncoding(String encoding)
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.