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 AetherClient
IOException
public Response get(String uri) throws IOException
get
in interface AetherClient
IOException
public Response get(String uri, Map<String,String> requestHeaders) throws IOException
get
in interface AetherClient
IOException
public Response put(String uri, RetryableSource source) throws IOException
put
in interface AetherClient
IOException
public void setSSLSocketFactory(SSLSocketFactory sslSocketFactory)
setSSLSocketFactory
in interface AetherClient
public void close()
close
in interface AetherClient
Copyright © 2014. All rights reserved.