Class PathRequest
java.lang.Object
org.springframework.boot.autoconfigure.security.servlet.PathRequest
Factory that can be used to create a
RequestMatcher
for commonly used paths.- Since:
- 2.0.0
- Author:
- Madhura Bhave, Phillip Webb
-
Method Summary
Modifier and TypeMethodDescriptionstatic StaticResourceRequest
Returns aStaticResourceRequest
that can be used to create a matcher forlocations
.
-
Method Details
-
toStaticResources
Returns aStaticResourceRequest
that can be used to create a matcher forlocations
.- Returns:
- a
StaticResourceRequest
-