We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.flow.internal.
Class UrlUtil
- java.lang.Object
-
- com.vaadin.flow.internal.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.
-
-