Class UrlBuilder

java.lang.Object
org.apache.storm.daemon.utils.UrlBuilder

public class UrlBuilder extends Object
Convenient utility class to build the URL.
  • Method Details

    • build

      public static String build(String urlPath, Map<String,Object> parameters)
      Build the URL. the key and value of query parameters will be encoded.
      Parameters:
      urlPath - URL except query parameter
      parameters - query parameter
      Returns:
      the url concatenating url path and query parameters