Class SSIServletRequestUtil


  • public class SSIServletRequestUtil
    extends java.lang.Object
    • 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