public final class Wget extends Object
| Modifier and Type | Method and Description |
|---|---|
static CharSequence |
url(String url)
Deprecated.
Use
url(String, StringBuilder) instead, this implementation is very dangerous |
static void |
url(String url,
StringBuilder sb)
Performs an HTTP GET request to the specified URL.
|
@Deprecated public static CharSequence url(String url) throws IOException
url(String, StringBuilder) instead, this implementation is very dangerousurl - the URL of the HTTP GET requestCharSequenceIOException - if an error occurs while establishing the connectionpublic 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 © 2023. All rights reserved.