类 PathRequest
java.lang.Object
org.springframework.boot.autoconfigure.security.servlet.PathRequest
Factory that can be used to create a
RequestMatcher
for commonly used paths.- 从以下版本开始:
- 2.0.0
- 作者:
- Madhura Bhave, Phillip Webb
-
嵌套类概要
嵌套类修饰符和类型类说明static final class
The request matcher used to match against h2 console path. -
方法概要
修饰符和类型方法说明Returns a matcher that includes the H2 console location.static StaticResourceRequest
Returns aStaticResourceRequest
that can be used to create a matcher forlocations
.
-
方法详细资料
-
toStaticResources
Returns aStaticResourceRequest
that can be used to create a matcher forlocations
.- 返回:
- a
StaticResourceRequest
-
toH2Console
Returns a matcher that includes the H2 console location. For example:PathRequest.toH2Console()
- 返回:
- the configured
RequestMatcher
-