public abstract class AbstractRestClient extends Object
| Constructor and Description |
|---|
AbstractRestClient() |
| Modifier and Type | Method and Description |
|---|---|
protected <T> T |
execute(retrofit2.Call<T> call) |
protected LogLevel |
getLogLevel(okhttp3.logging.HttpLoggingInterceptor interceptor) |
protected InfluxException |
responseToError(retrofit2.Response<?> response) |
protected void |
setLogLevel(okhttp3.logging.HttpLoggingInterceptor interceptor,
LogLevel logLevel) |
protected <T> T execute(@Nonnull retrofit2.Call<T> call) throws InfluxException
InfluxException@Nonnull protected InfluxException responseToError(@Nonnull retrofit2.Response<?> response)
protected void setLogLevel(@Nonnull okhttp3.logging.HttpLoggingInterceptor interceptor, @Nonnull LogLevel logLevel)
Copyright © 2018–2020 InfluxData, Inc.. All rights reserved.