SSIServletRequestUtil (Apache Tomcat 9.0.118 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

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `SSIServletRequestUtil()`

- ## 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`

- ## Constructor Details

  - ### SSIServletRequestUtil

    public SSIServletRequestUtil()

- ## 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