Class DefaultURIBuilderImpl

    • Constructor Detail

      • DefaultURIBuilderImpl

        public DefaultURIBuilderImpl()
    • Method Detail

      • isEmpty

        public boolean isEmpty()
        This method returns true if no target base was added nor any parameters. It is not related to whether a target prefix/suffix was added. It is identical to asking whether the returned string (if requested now) would return empty or not.
        Returns:
        Whether the ParameterBuilder object is essentially empty or not.
      • toString

        public java.lang.String toString()
        Get the entire collection of parameters as a string.
        Specified by:
        toString in interface ParameterBuilder
        Overrides:
        toString in class java.lang.Object
        Returns:
        A string representation of the set of key/value pairs.
      • addFragment

        public void addFragment​(java.lang.String fragment)
        Adds a fragment of key/value pairs.
        Parameters:
        fragment - A string fragment which must be parsed for a sequence of key/value pairs.