Package org.springframework.mock.web
Class MockHttpServletMapping
java.lang.Object
org.springframework.mock.web.MockHttpServletMapping
- All Implemented Interfaces:
- HttpServletMapping
Mock implementation of 
HttpServletMapping.
 Currently not exposed in MockHttpServletRequest as a setter to
 avoid issues for Maven builds in applications with a Servlet 3.1 runtime
 requirement.
- Since:
- 5.3.4
- Author:
- Rossen Stoyanchev
- 
Constructor SummaryConstructorsConstructorDescriptionMockHttpServletMapping(String matchValue, String pattern, String servletName, MappingMatch match) 
- 
Method Summary
- 
Constructor Details- 
MockHttpServletMappingpublic MockHttpServletMapping(String matchValue, String pattern, String servletName, @Nullable MappingMatch match) 
 
- 
- 
Method Details- 
getMatchValue- Specified by:
- getMatchValuein interface- HttpServletMapping
 
- 
getPattern- Specified by:
- getPatternin interface- HttpServletMapping
 
- 
getServletName- Specified by:
- getServletNamein interface- HttpServletMapping
 
- 
getMappingMatch- Specified by:
- getMappingMatchin interface- HttpServletMapping
 
- 
toString
 
-