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