public class TokenStreamProvider extends AbstractStreamProvider
INSECURE_TRUST_MANAGERS, sm| Modifier and Type | Method and Description |
|---|---|
protected SSLSocketFactory |
getSocketFactory() |
InputStream |
openStream(String url,
Map<String,String> headers,
int connectTimeout,
int readTimeout)
Open stream to the specified URL.
|
configureCaCert, openConnectionprotected SSLSocketFactory getSocketFactory()
getSocketFactory in class AbstractStreamProviderpublic InputStream openStream(String url, Map<String,String> headers, int connectTimeout, int readTimeout) throws IOException
StreamProvideropenStream in interface StreamProvideropenStream in class AbstractStreamProviderurl - the urlheaders - the headers mapconnectTimeout - connection timeout in msreadTimeout - read timeout in msIOException - when an error occursCopyright © 2000-2021 Apache Software Foundation. All Rights Reserved.