public static interface PathMatcher.Result
PathMatcher to a given URI path.| Modifier and Type | Method and Description |
|---|---|
boolean |
matches()
Whether the tested vector matches the associated path template.
|
String |
param(String name)
Get value for a given parameter of the associated path matcher.
|
Map<String,String> |
params()
Returns the values of parameters that were specified in the associated path template.
|
boolean matches()
Map<String,String> params()
String param(String name)
name - a parameter name to get value.parameter.NullPointerException - if the specified key is null and this map does not permit null keys.Copyright © 2018, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.