public class SecureURL extends Object
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 static void main(String[] args) throws IOException
IOException
public static String retrieve(String url) throws IOException
IOException
public static String retrieve(String url, Boolean force_https) throws IOException
IOException
Copyright © 2011 Nuxeo SA. All Rights Reserved.