Interface AsyncHttpResponseWrapperFactory.AsyncHttpResponseWrapper
-
- Enclosing interface:
- AsyncHttpResponseWrapperFactory
public static interface AsyncHttpResponseWrapperFactory.AsyncHttpResponseWrapperThe wrapper around the response that will be called by theAsyncHTTPConduitinstance once the response is received.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default voidresponseReceived(org.apache.http.HttpResponse response, Consumer<org.apache.http.HttpResponse> delegate)The callback which is called by theAsyncHTTPConduitinstance once the response is received.
-
-
-
Method Detail
-
responseReceived
default void responseReceived(org.apache.http.HttpResponse response, Consumer<org.apache.http.HttpResponse> delegate)The callback which is called by theAsyncHTTPConduitinstance once the response is received. The delegating response handler is passed as the an argument and has to be called.- Parameters:
response- the response receiveddelegate- delegating response handler
-
-