public abstract class BaseRequest<T> extends Object implements Request<T>
| Modifier and Type | Method and Description |
|---|---|
protected abstract okhttp3.Request |
createRequest() |
T |
execute()
Executes this request.
|
protected abstract T |
parseResponse(okhttp3.Response response) |
protected abstract okhttp3.Request createRequest()
throws ReloadlyException
ReloadlyExceptionprotected abstract T parseResponse(okhttp3.Response response) throws ReloadlyException
ReloadlyExceptionpublic T execute() throws ReloadlyException
execute in interface Request<T>ReloadlyException - if the request execution fails.Copyright © 2022. All rights reserved.