Class SSIMediator
java.lang.Object
org.apache.catalina.ssi.SSIMediator
Allows the different SSICommand implementations to share data/talk to each other.
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected final Stringprotected final SSIConditionalStateprotected Stringprotected Stringprotected Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected intprotected final longprotected final SSIExternalResolverprotected Strftime
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected voidprotected Stringprotected StringformatDate(Date date, TimeZone timeZone) longgetFileLastModified(String path, boolean virtual) longgetFileSize(String path, boolean virtual) getFileText(String path, boolean virtual) getVariableValue(String variableName) getVariableValue(String variableName, String encoding) protected booleanisNameReserved(String name) voidvoidprotected voidpopulateMatchGroups(Matcher matcher) voidsetConfigErrMsg(String configErrMsg) voidsetConfigSizeFmt(String configSizeFmt) voidsetConfigTimeFmt(String configTimeFmt) voidsetConfigTimeFmt(String configTimeFmt, boolean fromConstructor) protected voidsetDateVariables(boolean fromConstructor) voidsetVariableValue(String variableName, String variableValue) Applies variable substitution to the specified String and returns the new resolved string.
- 
Field Details- 
ENCODING_NONE- See Also:
 
- 
ENCODING_ENTITY- See Also:
 
- 
ENCODING_URL- See Also:
 
- 
DEFAULT_CONFIG_ERR_MSG- See Also:
 
- 
DEFAULT_CONFIG_TIME_FMT- See Also:
 
- 
DEFAULT_CONFIG_SIZE_FMT- See Also:
 
- 
configErrMsg
- 
configTimeFmt
- 
configSizeFmt
- 
className
- 
ssiExternalResolver
- 
lastModifiedDateprotected final long lastModifiedDate
- 
strftime
- 
conditionalState
- 
lastMatchCountprotected int lastMatchCount
 
- 
- 
Constructor Details- 
SSIMediator
 
- 
- 
Method Details- 
setConfigErrMsg
- 
setConfigTimeFmt
- 
setConfigTimeFmt
- 
setConfigSizeFmt
- 
getConfigErrMsg
- 
getConfigTimeFmt
- 
getConfigSizeFmt
- 
getConditionalState
- 
getVariableNames
- 
getFileSize- Throws:
- IOException
 
- 
getFileLastModified- Throws:
- IOException
 
- 
getFileText- Throws:
- IOException
 
- 
isNameReserved
- 
getVariableValue
- 
setVariableValue
- 
getVariableValue
- 
substituteVariables
- 
formatDate
- 
encode
- 
log
- 
log
- 
setDateVariablesprotected void setDateVariables(boolean fromConstructor) 
- 
clearMatchGroupsprotected void clearMatchGroups()
- 
populateMatchGroups
 
-