public static String generateResourcePath ( final Protocol protocol , final String distributionDomain , final String resourcePath ) { return protocol == Protocol . http || protocol == Protocol . https ? protocol + "://" + distributionDomain + "/" + resourcePath : resourcePath ; }
Returns the resource path for the given distribution object and protocol .