Package jenkins.util

Class UrlHelper


  • @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class)
    public class UrlHelper
    extends Object
    Objective is to validate an URL in a lenient way sufficiently strict to avoid too weird URL but to still allow particular internal URL to be accepted
    • Constructor Detail

      • UrlHelper

        public UrlHelper()
    • Method Detail

      • isValidRootUrl

        public static boolean isValidRootUrl​(String url)