Package com.firebolt.jdbc.connection
Class UrlUtil
java.lang.Object
com.firebolt.jdbc.connection.UrlUtil
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic URL
This factory method is similar toURI.create(String)
.static Properties
extractProperties
(String jdbcUrl) getQueryParameters
(URL url)
-
Field Details
-
JDBC_PREFIX
- See Also:
-
-
Constructor Details
-
UrlUtil
public UrlUtil()
-
-
Method Details
-
extractProperties
-
createUrl
This factory method is similar toURI.create(String)
. The difference is that `URI.host` ofhttp://something
isnull
while URL spechttp://something/
returns URI with host=something.- Parameters:
spec
- – the String to parse as a URL.- Returns:
- URL instance
-
getQueryParameters
-