You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Konrad Windszus (Jira)" <ji...@apache.org> on 2020/08/13 12:05:00 UTC

[jira] [Created] (SLING-9660) RequestPathInfoBuilder for easily constructing Sling URLs

Konrad Windszus created SLING-9660:
--------------------------------------

             Summary: RequestPathInfoBuilder for easily constructing Sling URLs
                 Key: SLING-9660
                 URL: https://issues.apache.org/jira/browse/SLING-9660
             Project: Sling
          Issue Type: Bug
          Components: API
            Reporter: Konrad Windszus
            Assignee: Konrad Windszus
             Fix For: API 2.22.2


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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)