| Constructor and Description |
|---|
SecureURL() |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(String[] args)
For testing only...
|
static String |
retrieve(String url)
Retrieve the contents from the given URL as a String, assuming the URL's server matches what we expect it to
match.
|
static String |
retrieve(String url,
Boolean force_https) |
public SecureURL()
public static void main(String[] args) throws IOException
IOExceptionpublic static String retrieve(String url) throws IOException
IOExceptionpublic static String retrieve(String url, Boolean force_https) throws IOException
IOExceptionCopyright © 2016 Nuxeo SA. All rights reserved.