public class AuthenticatingHttpConnector extends Object
| Constructor and Description |
|---|
AuthenticatingHttpConnector(String user,
com.google.common.base.Supplier<com.google.common.base.Optional<com.google.auth.oauth2.AccessToken>> accessTokenSupplier,
com.google.common.base.Optional<com.spotify.sshagentproxy.AgentProxy> agentProxyOpt,
com.google.common.base.Optional<com.spotify.sshagenttls.CertKeyPaths> clientCertificatePath,
com.spotify.helios.client.EndpointIterator endpointIterator,
DefaultHttpConnector delegate) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
HttpURLConnection |
connect(URI uri,
String method,
byte[] entity,
Map<String,List<String>> headers) |
public AuthenticatingHttpConnector(String user, com.google.common.base.Supplier<com.google.common.base.Optional<com.google.auth.oauth2.AccessToken>> accessTokenSupplier, com.google.common.base.Optional<com.spotify.sshagentproxy.AgentProxy> agentProxyOpt, com.google.common.base.Optional<com.spotify.sshagenttls.CertKeyPaths> clientCertificatePath, com.spotify.helios.client.EndpointIterator endpointIterator, DefaultHttpConnector delegate)
public HttpURLConnection connect(URI uri, String method, byte[] entity, Map<String,List<String>> headers) throws HeliosException
HeliosExceptionpublic void close()
throws IOException
IOExceptionCopyright © 2019. All rights reserved.