Package io.micronaut.http.uri
Interface UriMatchInfo
-
- All Known Implementing Classes:
UriMatchTemplate.DefaultUriMatchInfo
public interface UriMatchInfo
The result of a call toUriMatcher.match(java.net.URI)
.- Since:
- 1.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getUri()
java.util.Map<java.lang.String,UriMatchVariable>
getVariableMap()
java.util.List<UriMatchVariable>
getVariables()
java.util.Map<java.lang.String,java.lang.Object>
getVariableValues()
-
-
-
Method Detail
-
getUri
java.lang.String getUri()
- Returns:
- The matched URI
-
getVariableValues
java.util.Map<java.lang.String,java.lang.Object> getVariableValues()
- Returns:
- The variable values following a successful match
-
getVariables
java.util.List<UriMatchVariable> getVariables()
- Returns:
- The list of template variables
-
getVariableMap
java.util.Map<java.lang.String,UriMatchVariable> getVariableMap()
- Returns:
- A map of the variables.
-
-