public abstract class BaseRequest<T> extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static com.google.gson.Gson |
gson |
| Modifier | Constructor and Description |
|---|---|
protected |
BaseRequest(okhttp3.OkHttpClient client,
String token) |
| Modifier and Type | Method and Description |
|---|---|
abstract T |
handle() |
okhttp3.Response |
handleRequest(okhttp3.Request.Builder request) |
protected BaseRequest(okhttp3.OkHttpClient client,
String token)
public abstract T handle() throws RateLimitedException
RateLimitedExceptionpublic okhttp3.Response handleRequest(okhttp3.Request.Builder request)
throws RateLimitedException
RateLimitedExceptionCopyright © 2019. All rights reserved.