public class WebUtils extends Object
| Constructor and Description |
|---|
WebUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
downloadFile(String reqURL,
String fileLocation)
Downloads a file from the given URL and saves it to disk
|
static String |
getBody(String reqURL)
Makes a web request to the given URL and returns the body as a string
|
Copyright © 2020 GeyserMC. All rights reserved.