Package com.applitools.connectivity.api
Class AbstractAsyncCallback<T>
- java.lang.Object
-
- com.applitools.connectivity.api.AbstractAsyncCallback<T>
-
- All Implemented Interfaces:
AsyncRequestCallback
public abstract class AbstractAsyncCallback<T> extends Object implements AsyncRequestCallback
-
-
Constructor Summary
Constructors Constructor Description AbstractAsyncCallback(Logger logger, TaskListener<T> listener)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidonComplete(Response response)protected abstract TonCompleteInner(Response response)voidonFail(Throwable throwable)
-
-
-
Constructor Detail
-
AbstractAsyncCallback
public AbstractAsyncCallback(Logger logger, TaskListener<T> listener)
-
-
Method Detail
-
onComplete
public void onComplete(Response response)
- Specified by:
onCompletein interfaceAsyncRequestCallback
-
onFail
public void onFail(Throwable throwable)
- Specified by:
onFailin interfaceAsyncRequestCallback
-
-