Class ServletPathMapping

All Implemented Interfaces:

public class ServletPathMapping extends Object implements javax.servlet.http.HttpServletMapping
Implementation of HttpServletMapping. Represents the application of a ServletPathSpec to a specific path that resulted in a mapping to a Servlet. As well as supporting the standard HttpServletMapping methods, this class also carries fields, which can be precomputed for the implementation of HttpServletRequest.getServletPath() and HttpServletRequest.getPathInfo()
  • Constructor Details

  • Method Details

    • getMatchValue

      public String getMatchValue()
      Specified by:
      getMatchValue in interface javax.servlet.http.HttpServletMapping
    • getPattern

      public String getPattern()
      Specified by:
      getPattern in interface javax.servlet.http.HttpServletMapping
    • getServletName

      public String getServletName()
      Specified by:
      getServletName in interface javax.servlet.http.HttpServletMapping
    • getMappingMatch

      public javax.servlet.http.MappingMatch getMappingMatch()
      Specified by:
      getMappingMatch in interface javax.servlet.http.HttpServletMapping
    • getServletPath

      public String getServletPath()
    • getPathInfo

      public String getPathInfo()
    • toString

      public String toString()
      toString in class Object