SSIServletRequestUtil (Apache Tomcat 8.5.94 API Documentation)

Package org.apache.catalina.ssi

## Class SSIServletRequestUtil

- java.lang.Object
- - org.apache.catalina.ssi.SSIServletRequestUtil

-     public class SSIServletRequestUtil
      extends java.lang.Object

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `SSIServletRequestUtil()` |

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `static java.lang.String` | `getRelativePath​(HttpServletRequest request)` | Return the relative path associated with this servlet.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### SSIServletRequestUtil

          public SSIServletRequestUtil()

  - ### Method Detail

    - #### getRelativePath

          public static java.lang.String getRelativePath​(HttpServletRequest request)

      Return the relative path associated with this servlet. Taken from DefaultServlet.java. Perhaps this should be put in org.apache.catalina.util somewhere? Seems like it would be widely used.
      Parameters:
        `request` - The servlet request we are processing
      Returns:
        the relative path