- All Known Subinterfaces:
PathMatcher.PrefixResult
- Enclosing interface:
- PathMatcher
public static interface PathMatcher.Result
The result of matching a
PathMatcher
to a given URI path.-
Method Details
-
matches
boolean matches()Whether the tested vector matches the associated path template.- Returns:
- whether the test was successful
-
params
Returns the values of parameters that were specified in the associated path template.- Returns:
- an immutable map of parameters and their values
-
param
Get value for a given parameter of the associated path matcher.- Parameters:
name
- a parameter name to get value.- Returns:
- a value of the given
parameter
. - Throws:
NullPointerException
- if the specified key is null and this map does not permit null keys.
-