类 MockHttpServletMapping
java.lang.Object
cn.taketoday.mock.web.MockHttpServletMapping
- 所有已实现的接口:
jakarta.servlet.http.HttpServletMapping
public class MockHttpServletMapping
extends Object
implements jakarta.servlet.http.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.
- 从以下版本开始:
- 4.0
- 作者:
- Rossen Stoyanchev
-
字段概要
字段 -
构造器概要
构造器构造器说明MockHttpServletMapping(String matchValue, String pattern, String servletName, jakarta.servlet.http.MappingMatch match) -
方法概要
-
字段详细资料
-
matchValue
-
pattern
-
servletName
-
mappingMatch
@Nullable private final jakarta.servlet.http.MappingMatch mappingMatch
-
-
构造器详细资料
-
MockHttpServletMapping
-
-
方法详细资料
-
getMatchValue
- 指定者:
getMatchValue在接口中jakarta.servlet.http.HttpServletMapping
-
getPattern
- 指定者:
getPattern在接口中jakarta.servlet.http.HttpServletMapping
-
getServletName
- 指定者:
getServletName在接口中jakarta.servlet.http.HttpServletMapping
-
getMappingMatch
@Nullable public jakarta.servlet.http.MappingMatch getMappingMatch()- 指定者:
getMappingMatch在接口中jakarta.servlet.http.HttpServletMapping
-
toString
-