public class OkHttpAetherClient extends Object implements AetherClient
| Constructor and Description |
|---|
OkHttpAetherClient(AetherClientConfig config) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
Response |
get(String uri) |
Response |
get(String uri,
Map<String,String> requestHeaders) |
Response |
head(String uri) |
Response |
put(String uri,
RetryableSource source) |
void |
setSSLSocketFactory(SSLSocketFactory sslSocketFactory) |
public OkHttpAetherClient(AetherClientConfig config)
public Response head(String uri) throws IOException
head in interface AetherClientIOExceptionpublic Response get(String uri) throws IOException
get in interface AetherClientIOExceptionpublic Response get(String uri, Map<String,String> requestHeaders) throws IOException
get in interface AetherClientIOExceptionpublic Response put(String uri, RetryableSource source) throws IOException
put in interface AetherClientIOExceptionpublic void setSSLSocketFactory(SSLSocketFactory sslSocketFactory)
setSSLSocketFactory in interface AetherClientpublic void close()
close in interface AetherClientCopyright © 2017. All Rights Reserved.