Package org.eclipse.jetty.server
Class ServletPathMapping
java.lang.Object
org.eclipse.jetty.server.ServletPathMapping
- All Implemented Interfaces:
- 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 SummaryConstructorsConstructorDescriptionServletPathMapping(PathSpec pathSpec, String servletName, String pathInContext) ServletPathMapping(PathSpec pathSpec, String servletName, String pathInContext, MatchedPath matchedPath) 
- 
Method Summary
- 
Constructor Details- 
ServletPathMappingpublic ServletPathMapping(PathSpec pathSpec, String servletName, String pathInContext, MatchedPath matchedPath) 
- 
ServletPathMapping
 
- 
- 
Method Details- 
getMatchValue- Specified by:
- getMatchValuein interface- jakarta.servlet.http.HttpServletMapping
 
- 
getPattern- Specified by:
- getPatternin interface- jakarta.servlet.http.HttpServletMapping
 
- 
getServletName- Specified by:
- getServletNamein interface- jakarta.servlet.http.HttpServletMapping
 
- 
getMappingMatchpublic jakarta.servlet.http.MappingMatch getMappingMatch()- Specified by:
- getMappingMatchin interface- jakarta.servlet.http.HttpServletMapping
 
- 
getServletPath
- 
getPathInfo
- 
toString
 
-