Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-9660

Add RequestPathInfoBuilder for easily constructing Sling URLs

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • None
    • API
    • 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

          Activity

            People

              kwin Konrad Windszus
              kwin Konrad Windszus
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: