public interface ResourceRetriever
Modifier and Type | Method and Description |
---|---|
Resource |
retrieveResource(java.net.URL url)
Retrieves the resource from the specified HTTP(S) URL.
|
Resource retrieveResource(java.net.URL url) throws java.io.IOException
url
- The URL of the resource. Its scheme must be HTTP or
HTTPS. Must not be null
.java.io.IOException
- If the HTTP connection to the specified URL
failed or the resource couldn't be retrieved.Copyright © 2014 Connect2id Ltd.. All Rights Reserved.