Package org.fcrepo.migration.foxml
Class HttpClientURLFetcher
- java.lang.Object
-
- org.fcrepo.migration.foxml.HttpClientURLFetcher
-
- All Implemented Interfaces:
URLFetcher
public class HttpClientURLFetcher extends Object implements URLFetcher
- Author:
- mdurbin
-
-
Constructor Summary
Constructors Constructor Description HttpClientURLFetcher()Http Client URL fetcher.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InputStreamgetContentAtUrl(URL url)get content from a url.
-
-
-
Constructor Detail
-
HttpClientURLFetcher
public HttpClientURLFetcher()
Http Client URL fetcher.
-
-
Method Detail
-
getContentAtUrl
public InputStream getContentAtUrl(URL url) throws IOException
Description copied from interface:URLFetcherget content from a url.- Specified by:
getContentAtUrlin interfaceURLFetcher- Parameters:
url- the url- Returns:
- the content
- Throws:
IOException- IO exception
-
-