Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
None
-
None
-
None
Description
Currently Sling URLs with their parts outlined in https://sling.apache.org/documentation/the-sling-engine/url-decomposition.html must be constructed manually (i.e. by String operations).
To ease constructing such URLs a RequestPathInfoBuilder should be provided which allows to create a URL out of the individual parts easily.
Such a Builder should be either constructed from an existing URL or RequestPathInfo and should allow to modify/extend each of the given parts.
The Builder should work similarly to https://hc.apache.org/httpcomponents-client-ga/httpclient/apidocs/org/apache/http/client/utils/URIBuilder.html.
Attachments
Issue Links
- relates to
-
SLING-9745 Introduce SlingUri API to simplify creation/manipulation of Sling URIs
- Closed