2020年4月29日

Spring PathMatchingResourcePatternResolver

摘要: Spring PathMatchingResourcePatternResolver PathMatchingResourcePatternResolver是ResourcePatternResolver的实现来,用来解析一个或多个匹配资源的指定资源位置路径,资源路径可能是唯一的,也可能是包含cla 阅读全文

posted @ 2020-04-29 22:01 海之浪子 阅读(2308) 评论(0) 推荐(0) 编辑

Spring AntPathMatcher

摘要: Spring AntPathMatcher AntPathMatcher是用来对资源路径或者url的字符串做匹配使用的。采用的是Ant风格的格式 Ant风格的资源地址支持3中匹配 ?:匹配文件名中的一个字符 :匹配文件中的任意字符 :匹配多层路径 如下示例: classpath:com/con?.x 阅读全文

posted @ 2020-04-29 21:59 海之浪子 阅读(1597) 评论(0) 推荐(0) 编辑

导航