Package io.micronaut.http.uri
Class UriMatchVariable
java.lang.Object
io.micronaut.http.uri.UriMatchVariable
Represents a variable in a URI template.
- Since:
- 1.0
- Author:
- James Kleeh
-
Method Details
-
getName
- Returns:
- The variable name
-
isExploded
public boolean isExploded()- Returns:
- True if the variable is exploded
-
isQuery
public boolean isQuery()- Returns:
- true if the variable part of a query.
-
isOptional
public boolean isOptional()An optional variable is one that will allow the route to match if it is not present.- Returns:
- True if the variable is optional
-
equals
-
hashCode
public int hashCode()
-