Interface JdbcDriverDownloader.UrlConnectionFactory
-
- All Known Implementing Classes:
DefaultUrlConnectionFactory
,HttpUrlConnectionFactory
- Enclosing class:
- JdbcDriverDownloader
public static interface JdbcDriverDownloader.UrlConnectionFactory
The URL connection factory used by
JdbcDriverDownloader
.- Since:
- 2018.1
- Author:
- Andrey Shcheglov <mailto:andrey.shcheglov@jetbrains.com>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description JdbcDriverDownloader.UrlConnectionWrapper
openConnection(URL url)
Opens the connection to the given URL and returns the object which wraps the connection opened.
-
-
-
Method Detail
-
openConnection
@NotNull JdbcDriverDownloader.UrlConnectionWrapper openConnection(@NotNull URL url) throws IOException
Opens the connection to the given URL and returns the object which wraps the connection opened.
- Parameters:
url
- the URL to open connection to.- Returns:
- the object which wraps the connection opened.
- Throws:
IOException
- if an I/O error occurs.
-
-