Package com.influxdb.internal
Class AbstractRestClient
java.lang.Object
com.influxdb.internal.AbstractRestClient
- Direct Known Subclasses:
AbstractQueryApi
- Author:
- Jakub Bednar (bednar@github) (04/10/2018 07:50)
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected <T> T
execute
(retrofit2.Call<T> call) protected LogLevel
getLogLevel
(okhttp3.logging.HttpLoggingInterceptor interceptor) protected Boolean
ping
(retrofit2.Call<okhttp3.ResponseBody> responseBody) protected InfluxException
responseToError
(retrofit2.Response<?> response) protected void
setLogLevel
(okhttp3.logging.HttpLoggingInterceptor interceptor, LogLevel logLevel) protected InfluxException
toInfluxException
(Throwable throwable) protected String
version
(retrofit2.Call<okhttp3.ResponseBody> ping)
-
Constructor Details
-
AbstractRestClient
public AbstractRestClient()
-
-
Method Details
-
execute
- Throws:
InfluxException
-
toInfluxException
-
responseToError
-
setLogLevel
protected void setLogLevel(@Nonnull okhttp3.logging.HttpLoggingInterceptor interceptor, @Nonnull LogLevel logLevel) -
getLogLevel
@Nonnull protected LogLevel getLogLevel(@Nonnull okhttp3.logging.HttpLoggingInterceptor interceptor) -
ping
-
version
-