public final class PathRequest extends Object
RequestMatcher
for commonly used paths.Modifier and Type | Class and Description |
---|---|
static class |
PathRequest.H2ConsoleRequestMatcher
The request matcher used to match against h2 console path.
|
Modifier and Type | Method and Description |
---|---|
static PathRequest.H2ConsoleRequestMatcher |
toH2Console()
Returns a matcher that includes the H2 console location.
|
static StaticResourceRequest |
toStaticResources()
Returns a
StaticResourceRequest that can be used to create a matcher for
locations . |
public static StaticResourceRequest toStaticResources()
StaticResourceRequest
that can be used to create a matcher for
locations
.StaticResourceRequest
public static PathRequest.H2ConsoleRequestMatcher toH2Console()
PathRequest.toH2Console()
RequestMatcher