public class MockHttpServletMapping extends Object implements HttpServletMapping
HttpServletMapping.
Currently not exposed in MockHttpServletRequest as a setter to
avoid issues for Maven builds in applications with a Servlet 3.1 runtime
requirement.
| Constructor and Description |
|---|
MockHttpServletMapping(String matchValue,
String pattern,
String servletName,
MappingMatch match) |
| Modifier and Type | Method and Description |
|---|---|
MappingMatch |
getMappingMatch() |
String |
getMatchValue() |
String |
getPattern() |
String |
getServletName() |
String |
toString() |
public MockHttpServletMapping(String matchValue, String pattern, String servletName, @Nullable MappingMatch match)
public String getMatchValue()
getMatchValue in interface HttpServletMappingpublic String getPattern()
getPattern in interface HttpServletMappingpublic String getServletName()
getServletName in interface HttpServletMapping@Nullable public MappingMatch getMappingMatch()
getMappingMatch in interface HttpServletMapping