Class URLQuery

java.lang.Object
com.orchestranetworks.service.URLQuery

public final class URLQuery extends Object
Represents a list of URL query parameters.
Since:
5.8.1
  • Constructor Details

    • URLQuery

      public URLQuery()
      The default constructor.
  • Method Details

    • clear

      public void clear()
      Clears all parameters.
    • add

      public void add(String aName, String... values)
      Appends a query parameter. If multiple values are provided, the parameter will be added once per value. Existing parameter values will not be modified or removed.
      Parameters:
      aName - the parameter's name.
      values - the parameter's values.
    • format

      public String format()
    • format

      public String format(String aPrefixIfNotEmpty)