Class ServletPathMapping

java.lang.Object
org.eclipse.jetty.server.ServletPathMapping
All Implemented Interfaces:
jakarta.servlet.http.HttpServletMapping

public class ServletPathMapping extends Object implements jakarta.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 jakarta.servlet.http.HttpServletMapping
    • getPattern

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

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

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

      public String getServletPath()
    • getPathInfo

      public String getPathInfo()
    • toString

      public String toString()
      Overrides:
      toString in class Object