Class ScannerHttpClient
java.lang.Object
org.sonarsource.scanner.lib.internal.http.ScannerHttpClient
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncallRestApi(String urlPath) callWebApi(String urlPath) voiddownloadFromExternalUrl(String url, Path toFile) voiddownloadFromRestApi(String urlPath, Path toFile) voiddownloadFromWebApi(String urlPath, Path toFile) voidinit(HttpConfig httpConfig)
-
Constructor Details
-
ScannerHttpClient
public ScannerHttpClient()
-
-
Method Details
-
init
-
downloadFromRestApi
- Throws:
IOException
-
downloadFromWebApi
- Throws:
IOException
-
downloadFromExternalUrl
- Throws:
IOException
-
callRestApi
- Throws:
IOException
-
callWebApi
- Throws:
IOException
-