You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Georg Henzler (Jira)" <ji...@apache.org> on 2020/09/18 09:04:00 UTC

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

    [ https://issues.apache.org/jira/browse/SLING-9660?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17198231#comment-17198231 ] 

Georg Henzler commented on SLING-9660:
--------------------------------------

SLING-9662 was a bit too big in what it contained, therefore ResourceURI and builder for it is done via separate issue SLING-9745 now

> Add RequestPathInfoBuilder for easily constructing Sling URLs
> -------------------------------------------------------------
>
>                 Key: SLING-9660
>                 URL: https://issues.apache.org/jira/browse/SLING-9660
>             Project: Sling
>          Issue Type: Improvement
>          Components: API
>            Reporter: Konrad Windszus
>            Assignee: Konrad Windszus
>            Priority: Major
>
> 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.



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