Interface UrlBuilder


public interface UrlBuilder
  • Method Details

    • pathSegment

      UrlBuilder pathSegment(String thePath)
      URL-encodes the given path segment and adds it to the list of segments.
    • pathSegments

      default UrlBuilder pathSegments(Collection<String> paths)
    • queryParam

      UrlBuilder queryParam(String name, String value)
      URL-encodes the given query parameter name and value and adds them to the list of query parameters. Note that no guarantee is made regarding the ordering of query parameters in the resulting URL.