Interface LinkMapper

    • Method Detail

      • mapUri

        String mapUri​(org.apache.sling.api.SlingHttpServletRequest request,
                      String uri)
        If uri is an URL, it is returned unmodified; if it's a path, it's mapped to an URL without scheme, but validly URL-encoded. we have to say that it returns it URL-encoded since ResourceResolver.map(HttpServletRequest, String) encodes characters not valid in an URL.