Class UriSpec.Part

  • Enclosing class:
    UriSpec

    public static class UriSpec.Part
    extends java.lang.Object
    Represents one token in the Uri spec
    • Constructor Summary

      Constructors 
      Constructor Description
      Part()  
      Part​(java.lang.String value, boolean isVariable)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)  
      java.lang.String getValue()  
      int hashCode()  
      boolean isVariable()  
      • Methods inherited from class java.lang.Object

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

      • Part

        public Part​(java.lang.String value,
                    boolean isVariable)
        Parameters:
        value - the token value
        isVariable - if true, a replacement field. If false, a literal string
      • Part

        public Part()
    • Method Detail

      • getValue

        public java.lang.String getValue()
      • isVariable

        public boolean isVariable()
      • 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