Class ServletPathMapping
java.lang.Object
org.eclipse.jetty.ee11.servlet.ServletPathMapping
- All Implemented Interfaces:
 jakarta.servlet.http.HttpServletMapping
Implementation of HttpServletMapping that 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 Summary
ConstructorsConstructorDescriptionServletPathMapping(PathSpec pathSpec, String servletName, String pathInContext) ServletPathMapping(PathSpec pathSpec, String servletName, String pathInContext, MatchedPath matchedPath)  - 
Method Summary
Modifier and TypeMethodDescriptionstatic ServletPathMappingObtain aServletPathMappinginstance from an object which may be an instance of a mapping from a different EE version obtained from a cross context cross environment dispatchjakarta.servlet.http.MappingMatchtoString() 
- 
Constructor Details
- 
ServletPathMapping
public ServletPathMapping(PathSpec pathSpec, String servletName, String pathInContext, MatchedPath matchedPath)  - 
ServletPathMapping
 
 - 
 - 
Method Details
- 
getMatchValue
- Specified by:
 getMatchValuein interfacejakarta.servlet.http.HttpServletMapping
 - 
getPattern
- Specified by:
 getPatternin interfacejakarta.servlet.http.HttpServletMapping
 - 
getServletName
- Specified by:
 getServletNamein interfacejakarta.servlet.http.HttpServletMapping
 - 
getMappingMatch
public jakarta.servlet.http.MappingMatch getMappingMatch()- Specified by:
 getMappingMatchin interfacejakarta.servlet.http.HttpServletMapping
 - 
getServletPath
 - 
getPathInfo
 - 
toString
 - 
from
Obtain aServletPathMappinginstance from an object which may be an instance of a mapping from a different EE version obtained from a cross context cross environment dispatch- Parameters:
 o- The object to caste or deserialize from the string representation.- Returns:
 - A ServletPathMapping
 
 
 -