Class UrlBuilder


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

      • 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