public class HttpclientResponseHandler extends AbstractBackendResponseHandler<org.apache.http.HttpResponse>
lifeCycleHandler, request
Constructor and Description |
---|
HttpclientResponseHandler(ForestRequest request,
LifeCycleHandler lifeCycleHandler) |
Modifier and Type | Method and Description |
---|---|
void |
handleFuture(Future httpResponseFuture,
ForestResponseFactory forestResponseFactory) |
protected void |
handleFutureResult(Future httpResponseFuture,
Class innerType,
ForestResponseFactory forestResponseFactory) |
void |
handleSync(org.apache.http.HttpResponse httpResponse,
ForestResponse response) |
handleError, handleError, handleSuccess, handleSync
public HttpclientResponseHandler(ForestRequest request, LifeCycleHandler lifeCycleHandler)
public void handleSync(org.apache.http.HttpResponse httpResponse, ForestResponse response)
public void handleFuture(Future httpResponseFuture, ForestResponseFactory forestResponseFactory)
handleFuture
in class AbstractBackendResponseHandler<org.apache.http.HttpResponse>
protected void handleFutureResult(Future httpResponseFuture, Class innerType, ForestResponseFactory forestResponseFactory)
Copyright © 2020. All rights reserved.