public final class SimpleHTTPGetRequestSender
extends java.lang.Object
Constructor and Description |
---|
SimpleHTTPGetRequestSender() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
downloadData(java.lang.String link)
Send a GET request to an address and returns a String containing the
content returned from the host.
|
public static java.lang.String downloadData(java.lang.String link) throws java.lang.Exception
link
- The request URL.java.lang.Exception
- When an error occurred. See the Exception's message for more
information.