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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected <T> Texecute(retrofit2.Call<T> call) protected LogLevelgetLogLevel(okhttp3.logging.HttpLoggingInterceptor interceptor) protected Booleanping(retrofit2.Call<okhttp3.ResponseBody> responseBody) protected InfluxExceptionresponseToError(retrofit2.Response<?> response) protected voidsetLogLevel(okhttp3.logging.HttpLoggingInterceptor interceptor, LogLevel logLevel) protected InfluxExceptiontoInfluxException(Throwable throwable) protected Stringversion(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
-