@Component public class ExternalContentServiceImpl extends Object implements ExternalContentService
Constructor and Description |
---|
ExternalContentServiceImpl() |
Modifier and Type | Method and Description |
---|---|
protected org.apache.http.impl.client.CloseableHttpClient |
getCloseableHttpClient() |
InputStream |
retrieveExternalContent(URI sourceUri)
Retrieve the content at the URI using the global connection pool.
|
protected void |
setConnManager(org.apache.http.conn.HttpClientConnectionManager connManager) |
public ExternalContentServiceImpl()
public InputStream retrieveExternalContent(URI sourceUri) throws IOException
retrieveExternalContent
in interface ExternalContentService
sourceUri
- the source uriIOException
- if IO exception occurredprotected org.apache.http.impl.client.CloseableHttpClient getCloseableHttpClient()
protected void setConnManager(org.apache.http.conn.HttpClientConnectionManager connManager)
Copyright © 2013–2017 DuraSpace, Inc.. All rights reserved.