SSIServletRequestUtil (Apache Tomcat 11.0.23 API Documentation)
Description: declaration: package: org.apache.catalina.ssi, class: SSIServletRequestUtil

# Class SSIServletRequestUtil

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

public class SSIServletRequestUtil extends Object
Utility methods for SSI servlet request handling.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static String`
  `getRelativePath(HttpServletRequest request)`
  Return the relative path associated with this servlet.

  ### Methods inherited from class Object

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

- ## Method Details

  - ### getRelativePath

    public static 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