Class WebUtils
java.lang.Object
io.github.projectunified.mcserverupdater.util.WebUtils
-
Method Summary
Modifier and TypeMethodDescriptionstatic InputStream
getInputStream
(String url, UpdateBuilder updateBuilder) static InputStream
getInputStreamOrNull
(String url, UpdateBuilder updateBuilder) static URLConnection
openConnection
(String url, UpdateBuilder updateBuilder) static URLConnection
openConnectionOrNull
(String url, UpdateBuilder updateBuilder)
-
Method Details
-
openConnection
public static URLConnection openConnection(String url, UpdateBuilder updateBuilder) throws IOException - Throws:
IOException
-
getInputStream
public static InputStream getInputStream(String url, UpdateBuilder updateBuilder) throws IOException - Throws:
IOException
-
openConnectionOrNull
-
getInputStreamOrNull
-