Package javax.servlet.http
Interface HttpServletMapping
- 
 public interface HttpServletMappingRepresents how the request from which this object was obtained was mapped to the associated servlet.- Since:
- Servlet 4.0
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description MappingMatchgetMappingMatch()java.lang.StringgetMatchValue()java.lang.StringgetPattern()java.lang.StringgetServletName()
 
- 
- 
- 
Method Detail- 
getMatchValuejava.lang.String getMatchValue() - Returns:
- The value that was matched or the empty String if not known.
 
 - 
getPatternjava.lang.String getPattern() - Returns:
- The url-patternthat matched this request or the empty String if not known.
 
 - 
getServletNamejava.lang.String getServletName() - Returns:
- The name of the servlet (as specified in web.xml, WebServlet.name(),ServletContext.addServlet(String, Class)or one of the otheraddServlet()methods) that the request was mapped to.
 
 - 
getMappingMatchMappingMatch getMappingMatch() - Returns:
- The type of match (nullif not known)
 
 
- 
 
-