public class OkHttp3ResponseHandler extends AbstractBackendResponseHandler<Object>
lifeCycleHandler, request
Constructor and Description |
---|
OkHttp3ResponseHandler(ForestRequest request,
LifeCycleHandler lifeCycleHandler) |
Modifier and Type | Method and Description |
---|---|
void |
handleFuture(Future<Object> httpResponseFuture,
ForestResponseFactory forestResponseFactory) |
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, ForestResponseFactory forestResponseFactory)
handleFuture
in class AbstractBackendResponseHandler<Object>
Copyright © 2020. All rights reserved.