简体   繁体   English

有人会提供一个如何使用和编程Spring PathMatchConfigurer的示例吗?

[英]Would somebody have an example of how-to use and program a Spring PathMatchConfigurer?

有人会有示例代码显示如何使用和编程Spring PathMatchConfigurer吗?

PathMatchConfigurer helps with configuring HandlerMappings path matching options such as trailing slash match, suffix registration, path matcher and path helper. PathMatchConfigurer可帮助配置HandlerMappings路径匹配选项,例如尾部斜杠匹配,后缀注册,路径匹配器和路径帮助器。 Configured path matcher and path helper instances are shared for: 已配置的路径匹配器和路径帮助器实例共享给:

`RequestMappings`
`ViewControllerMappings`
`ResourcesMappings`

for the Spring ' PathMatchConfigurer ', example follow this 对于Spring'PathMatchConfigurer ',请按照以下示例操作

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM