Package com.persequor.extension.frontend
Class UrlBuilder
java.lang.Object
com.persequor.extension.frontend.UrlBuilder
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
buildUrlString
(UrlContent urlContent) Builds a url string from the given UrlContent
-
Method Details
-
buildUrlString
Builds a url string from the given UrlContentThe UrlContent contains the path variables and query parameters
The path variables are sorted by order, and the query parameters are unsorted
If no query parameters are present, the url string will not contain a question mark
- Parameters:
urlContent
- a data structure containing the path variables and query parameters- Returns:
- a url string, e.g.
/path/{variable1}/{variable2}?param1=value1¶m2=value2
-