Class DefaultHiddenInputBuilderImpl

    • Constructor Detail

      • DefaultHiddenInputBuilderImpl

        public DefaultHiddenInputBuilderImpl()
    • Method Detail

      • isEmpty

        public boolean isEmpty()
        This method returns true if no parameters were added. 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. The current implementation simply throws an IllegalStateException.
        Parameters:
        fragment - A string fragment which must be parsed for a sequence of key/value pairs.