Class Utils


  • public final class Utils
    extends Object
    Utility class
    • Constructor Detail

    • Method Detail

      • normalizeUrl

        static String normalizeUrl​(String url)
        Normalize URL
        Parameters:
        url - The url
        Returns:
        The normalized URL
      • getRemoteHostFromUrl

        static String getRemoteHostFromUrl​(String url)
        Get the remote host from the given url
        Parameters:
        url - the url
        Returns:
        the remote host or empty if url does not match