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.
|
java.lang.String |
param(java.lang.String name)
Get value for a given parameter of the associated path matcher.
|
java.util.Map<java.lang.String,java.lang.String> |
params()
Returns the values of parameters that were specified in the associated path template.
|
boolean matches()
java.util.Map<java.lang.String,java.lang.String> params()
java.lang.String param(java.lang.String name)
name - a parameter name to get value.parameter.java.lang.NullPointerException - if the specified key is null and this map does not permit null keys.Copyright © 2018–2019 Oracle Corporation. All rights reserved.