Class UrlUtil

java.lang.Object
com.firebolt.jdbc.connection.UrlUtil

public class UrlUtil extends Object
  • Field Details

  • Constructor Details

    • UrlUtil

      public UrlUtil()
  • Method Details

    • extractProperties

      public static Properties extractProperties(String jdbcUrl)
    • createUrl

      public static URL createUrl(String spec)
      This factory method is similar to URI.create(String). The difference is that `URI.host` of http://something is null while URL spec http://something/ returns URI with host=something.
      Parameters:
      spec - – the String to parse as a URL.
      Returns:
      URL instance
    • getQueryParameters

      public static Map<String,String> getQueryParameters(URL url)