public interface StreamProvider
Modifier and Type | Method and Description |
---|---|
InputStream |
openStream(String url,
Map<String,String> headers,
int connectTimeout,
int readTimeout)
Open stream to the specified URL.
|
InputStream openStream(String url, Map<String,String> headers, int connectTimeout, int readTimeout) throws IOException
url
- the urlheaders
- the headers mapconnectTimeout
- connection timeout in msreadTimeout
- read timeout in msIOException
- when an error occursCopyright © 2000-2020 Apache Software Foundation. All Rights Reserved.