Class URLConnectionProvider
java.lang.Object
org.openjump.util.URLConnectionProvider
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiongetConnection(URL url) Deprecated.use getHttpConnection(url,followRedirects) insteadgetHttpConnection(URL url) getHttpConnection(URL url, boolean followRedirects) static URLConnectionProvider
-
Field Details
-
KEY
-
instance
-
-
Method Details
-
getInstance
-
getHttpConnection
- Throws:
IOException
-
getConnection
Deprecated.use getHttpConnection(url,followRedirects) instead- Parameters:
url- URL- Returns:
- a URLConnection
- Throws:
IOException- if an IOException occurs
-
getHttpConnection
- Throws:
IOException
-