Package org.apache.catalina.ssi


package org.apache.catalina.ssi

This package contains code that is used by the SsiInvoker.

This class consists of SsiMediator.java which works as a mediator between the different SsiCommands. To add a command you have to implement the SsiCommand interface and extend the SsiMediator. Commands currently implemented are

  • SsiConfig - Implementation of the NCSA command Config i.e. <!--#config errmsg="error?"-->
  • SsiEcho - Implementation of the NCSA command Echo i.e. <!--#echo var="SERVER_NAME"-->
  • SsiExec - Not implemented
  • SsiFlastMod - Implementation of the NCSA command flastmod i.e. <!--#flastmod virtual="file"-->
  • SsiFsize - Implementation of the NCSA command fsize i.e. <!--#fsize file="file"-->
  • SsiInclude - Implementation of the NCSA command Include i.e. <!--#config virtual="includefile"-->
  • Class
    Description
    Class that extends ServletOutputStream, used as a wrapper from within SsiInclude
    Represents a parsed expression.
    Parses an expression string to return the individual tokens.
    An HttpServletResponseWrapper, used from SSIServletExternalResolver.
    The interface that all SSI commands ( SSIEcho, SSIInclude, ...) must implement.
    SSI command that handles all conditional directives.
    This class is used by SSIMediator and SSIConditional to keep track of state information necessary to process the nested conditional commands ( if, elif, else, endif ).
    Implements the Server-side #config command.
    Return the result associated with the supplied Server Variable.
    Implements the Server-side #exec command.
    Interface used by SSIMediator to talk to the 'outside world' ( usually a servlet ).
    Filter to process SSI requests within a webpage.
    Implements the Server-side #flastmod command.
    Implements the Server-side #fsize command.
    Implements the Server-side #include command.
    Allows the different SSICommand implementations to share data/talk to each other.
    Implements the Server-side #printenv command.
    The entry point to SSI processing.
    Servlet to process SSI requests within a webpage.
    An implementation of SSIExternalResolver that is used with servlets.
    Holds a servlet context and an associated path.
    Utility methods for SSI servlet request handling.
    Implements the Server-side #set command.
    Exception used to tell SSIProcessor that it should stop processing SSI commands.