public static String unmappedExternalUrl(SlingHttpServletRequest request, String path) {
        return LinkUtil.getAbsoluteUrl(request, LinkUtil.getUnmappedUrl(request, path));
    }
public static String unmappedExternalUrl ( SlingHttpServletRequest request , String path ) { return LinkUtil . getAbsoluteUrl ( request , LinkUtil . getUnmappedUrl ( request , path ) ) ; }
Builds an external (full qualified) URL for a repository path using the LinkUtil.getUnmappedURL() method.

@param request the current request (domain host hint)
@param path    the repository path
@return the URL built in the context of the requested domain host