Class PathRequest
- java.lang.Object
- org.springframework.boot.autoconfigure.security.reactive.PathRequest
public final class PathRequest extends Object
Factory that can be used to create aServerWebExchangeMatcher
for commonly used paths.- Since:
- 2.0.0
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StaticResourceRequest
toStaticResources()
Returns aStaticResourceRequest
that can be used to create a matcher forlocations
.
Method Detail
toStaticResources
public static StaticResourceRequest toStaticResources()
Returns aStaticResourceRequest
that can be used to create a matcher forlocations
.- Returns:
- a
StaticResourceRequest