public final class Wget extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
url(String url,
StringBuilder sb)
Performs an HTTP GET request to the specified URL.
|
public static void url(String url, StringBuilder sb) throws IOException
url - the URL of the HTTP GET requestsb - The StringBuilder to which the response will be written toIOException - if an error occurs while establishing the connectionCopyright © 2024. All rights reserved.