public class OkHttp3ResponseHandler extends ResponseHandler<Object>
lifeCycleHandler, request
Constructor and Description |
---|
OkHttp3ResponseHandler(ForestRequest request,
LifeCycleHandler lifeCycleHandler) |
Modifier and Type | Method and Description |
---|---|
void |
handleFuture(Future<Object> httpResponseFuture) |
Object |
handleSync(okhttp3.Response okResponse,
ForestResponse response) |
handleError, handleError, handleSuccess, handleSync
public OkHttp3ResponseHandler(ForestRequest request, LifeCycleHandler lifeCycleHandler)
public Object handleSync(okhttp3.Response okResponse, ForestResponse response)
public void handleFuture(Future<Object> httpResponseFuture)
handleFuture
in class ResponseHandler<Object>
Copyright © 2022. All rights reserved.