|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ResourceRetriever
Retriever of resources specified by URL.
Method Summary | |
---|---|
Resource |
retrieveResource(URL url)
Retrieves the resource from the specified HTTP(S) URL. |
Method Detail |
---|
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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |