| java.lang.Object org.apache.catalina.ssi.SSIProcessor
SSIProcessor | public class SSIProcessor (Code) | | The entry point to SSI processing. This class does the actual parsing,
delegating to the SSIMediator, SSICommand, and SSIExternalResolver as
necessary[
author: Dan Sandberg author: David Becker version: $Revision: 531303 $, $Date: 2007-04-23 02:24:01 +0200 (lun., 23 avr. 2007) $ |
BUFFER_SIZE | final protected static int BUFFER_SIZE(Code) | | |
COMMAND_END | final protected static String COMMAND_END(Code) | | The end pattern
|
COMMAND_START | final protected static String COMMAND_START(Code) | | The start pattern
|
debug | protected int debug(Code) | | |
addBuiltinCommands | protected void addBuiltinCommands()(Code) | | |
isQuote | protected boolean isQuote(char c)(Code) | | |
isSpace | protected boolean isSpace(char c)(Code) | | |
parseParamNames | protected String[] parseParamNames(StringBuffer cmd, int start)(Code) | | Parse a StringBuffer and take out the param type token. Called from
requestHandler
Parameters: cmd - a value of type 'StringBuffer' a value of type 'String[]' |
parseParamValues | protected String[] parseParamValues(StringBuffer cmd, int start, int count)(Code) | | Parse a StringBuffer and take out the param token. Called from
requestHandler
Parameters: cmd - a value of type 'StringBuffer' a value of type 'String[]' |
process | public long process(Reader reader, long lastModifiedDate, PrintWriter writer) throws IOException(Code) | | Process a file with server-side commands, reading from reader and
writing the processed version to writer. NOTE: We really should be doing
this in a streaming way rather than converting it to an array first.
Parameters: reader - the reader to read the file containing SSIs from Parameters: writer - the writer to write the file with the SSIs processed. the most current modified date resulting from any SSI commands throws: IOException - when things go horribly awry. Should be unlikely since theSSICommand usually catches 'normal' IOExceptions. |
|
|