Interface UrlBuilder
public interface UrlBuilder
-
Method Summary
Modifier and TypeMethodDescriptionpathSegment(String thePath) URL-encodes the given path segment and adds it to the list of segments.default UrlBuilderpathSegments(Collection<String> paths) queryParam(String name, String value) URL-encodes the given query parameter name and value and adds them to the list of query parameters.
-
Method Details
-
pathSegment
URL-encodes the given path segment and adds it to the list of segments. -
pathSegments
-
queryParam
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.
-