com.vaadin.flow.internal.

Class UrlUtil


  • public class UrlUtil
    extends Object

    Internal utility class for URL handling.

    Since:

    2.0

    Author:

    Vaadin Ltd

    • Method Detail

      • isExternal

        public static boolean isExternal(String url)

        checks if the given url is an external URL (e.g. staring with http:// or https://) or not.

        Parameters:

        url - is the url to be checked.

        Returns:

        true if the url is external otherwise false.