org.apache.storm.daemon.utils

## Class UrlBuilder

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

-     public class UrlBuilder
      extends Object

  Convenient utility class to build the URL.

- - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static String` | `build(String urlPath, Map<String,Object> parameters)` Build the URL.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### 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

Copyright © 2021 The Apache Software Foundation. All rights reserved.