|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--org.apache.catalina.util.ssi.SsiMediator
|
+--org.apache.catalina.util.ssi.SsiConfig
Implementation of the SsiCommand config, example of usage: <!--#config sizefmt="abbrev" errmsg="An error occurred!"-->
| Field Summary |
| Fields inherited from class org.apache.catalina.util.ssi.SsiMediator |
contextPath, debug, isVirtualWebappRelative, origServletContext, out, path, relpath, req, res, serverVariables, servletContext, ssiCommands |
| Constructor Summary | |
SsiConfig()
Initialize this SsiCommand |
|
| Method Summary | |
void |
flush()
Initialize, run once per page being parsed. |
byte[] |
getError()
Return the current error message. |
java.lang.String |
getSizefmt()
Return the current Size format. |
java.lang.String |
getStream(java.lang.String[] strParamType,
java.lang.String[] strParam)
process() should be used since this SsiCommand
does not return anything. |
java.lang.String |
getTimefmt()
Return the current Time format. |
boolean |
isModified()
Return true if we're modified. |
boolean |
isPrintable()
Returns true if SSI Command does any output. |
void |
process(java.lang.String[] strParamType,
java.lang.String[] strParam)
Process request. |
| Methods inherited from class org.apache.catalina.util.ssi.SsiMediator |
flush, flushDate, getCGIPath, getCommand, getCommandPath, getFilePath, getServerVariable, getVirtualPath, timefmt, timefmt |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SsiConfig()
| Method Detail |
public java.lang.String getStream(java.lang.String[] strParamType,
java.lang.String[] strParam)
process() should be used since this SsiCommand
does not return anything.
getStream in interface SsiCommandstrParamType - a value of type 'String[]'strParam - a value of type 'String[]'
public final void process(java.lang.String[] strParamType,
java.lang.String[] strParam)
process in interface SsiCommandstrParamType - a value of type 'String[]'strParam - a value of type 'String[]'public final byte[] getError()
getError in class SsiMediatorpublic final java.lang.String getSizefmt()
public final java.lang.String getTimefmt()
public final void flush()
public final boolean isPrintable()
isPrintable in interface SsiCommandpublic final boolean isModified()
isModified in interface SsiCommand
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||