public class SSIEcho extends java.lang.Object implements SSICommand
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
DEFAULT_ENCODING |
protected static java.lang.String |
MISSING_VARIABLE_VALUE |
Constructor and Description |
---|
SSIEcho() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
isValidEncoding(java.lang.String encoding) |
long |
process(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.
|
protected static final java.lang.String DEFAULT_ENCODING
protected static final java.lang.String MISSING_VARIABLE_VALUE
public long process(SSIMediator ssiMediator, java.lang.String commandName, java.lang.String[] paramNames, java.lang.String[] paramValues, java.io.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(java.lang.String encoding)
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.