Class PathRequest
java.lang.Object
org.springframework.boot.security.autoconfigure.web.servlet.PathRequest
Factory that can be used to create a 
RequestMatcher for commonly used paths.- Since:
- 4.0.0
- Author:
- Madhura Bhave, Phillip Webb
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic final classThe request matcher used to match against h2 console path.
- 
Method SummaryModifier and TypeMethodDescriptionReturns a matcher that includes the H2 console location.static StaticResourceRequestReturns aStaticResourceRequestthat can be used to create a matcher forlocations.
- 
Method Details- 
toStaticResourcesReturns aStaticResourceRequestthat can be used to create a matcher forlocations.- Returns:
- a StaticResourceRequest
 
- 
toH2ConsoleReturns a matcher that includes the H2 console location. For example:PathRequest.toH2Console() - Returns:
- the configured RequestMatcher
 
 
-