public abstract class AlgoliaHttpClient extends Object
| Constructor and Description |
|---|
AlgoliaHttpClient() |
| Modifier and Type | Method and Description |
|---|---|
abstract List<String> |
getBuildHosts() |
protected abstract com.fasterxml.jackson.databind.ObjectMapper |
getObjectMapper() |
abstract List<String> |
getQueryHosts() |
protected abstract AlgoliaHttpResponse |
request(AlgoliaHttpRequest request) |
<T> T |
requestWithRetry(AlgoliaRequest<T> request) |
protected abstract AlgoliaHttpResponse request(@Nonnull AlgoliaHttpRequest request) throws IOException
IOExceptionprotected abstract com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()
public <T> T requestWithRetry(@Nonnull AlgoliaRequest<T> request) throws AlgoliaException
AlgoliaExceptionCopyright © 2016. All rights reserved.