public static final class URLStreamProvider.AmbariHttpUrlConnectionProvider extends Object implements org.apache.ambari.spi.net.HttpURLConnectionProvider
HttpURLConnectionProvider, this class
will use the URLStreamProvider in order to provide an
HttpURLConnection which is able to use Ambari's cookie store,
truststore, and timeout values.| Constructor and Description |
|---|
AmbariHttpUrlConnectionProvider()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
HttpURLConnection |
getConnection(String url,
Map<String,List<String>> headers) |
public AmbariHttpUrlConnectionProvider()
public HttpURLConnection getConnection(String url, Map<String,List<String>> headers) throws IOException
getConnection in interface org.apache.ambari.spi.net.HttpURLConnectionProviderIOExceptionCopyright © 2022 Apache Software Foundation. All rights reserved.