public class DefaultHttpConnector extends Object
| Constructor and Description |
|---|
DefaultHttpConnector(com.spotify.helios.client.EndpointIterator endpointIterator,
int httpTimeoutMillis,
boolean sslHostnameVerificationEnabled) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
HttpURLConnection |
connect(URI uri,
String method,
byte[] entity,
Map<String,List<String>> headers) |
void |
setExtraHttpsHandler(com.spotify.sshagenttls.HttpsHandler extraHttpsHandler) |
public DefaultHttpConnector(com.spotify.helios.client.EndpointIterator endpointIterator,
int httpTimeoutMillis,
boolean sslHostnameVerificationEnabled)
public HttpURLConnection connect(URI uri, String method, byte[] entity, Map<String,List<String>> headers) throws HeliosException
HeliosExceptionpublic void close()
throws IOException
IOExceptionpublic void setExtraHttpsHandler(com.spotify.sshagenttls.HttpsHandler extraHttpsHandler)
Copyright © 2019. All rights reserved.