Class UriMatchVariable


  • public class UriMatchVariable
    extends java.lang.Object
    Represents a variable in a URI template.
    Since:
    1.0
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)  
      java.lang.String getName()  
      int hashCode()  
      boolean isExploded()  
      boolean isOptional()
      An optional variable is one that will allow the route to match if it is not present.
      boolean isQuery()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getName

        public java.lang.String 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

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object