枚举类的使用
org.springframework.boot.autoconfigure.web.servlet.WebMvcProperties.MatchingStrategy
程序包
说明
Auto-configuration for servlet web servers and Spring MVC.
-
org.springframework.boot.autoconfigure.web.servlet中WebMvcProperties.MatchingStrategy的使用
修饰符和类型方法说明WebMvcProperties.Pathmatch.getMatchingStrategy()
返回带有指定名称的该类的枚举常量。static WebMvcProperties.MatchingStrategy[]
WebMvcProperties.MatchingStrategy.values()
返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同修饰符和类型方法说明void
WebMvcProperties.Pathmatch.setMatchingStrategy
(WebMvcProperties.MatchingStrategy matchingStrategy)