public class CustomResponseHandler<R> extends Object implements ResponseHandler<R>
| Constructor and Description |
|---|
CustomResponseHandler(Class<R> responseType,
BiFunction<Context,R,Boolean> responseHandler) |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
apply(Context context,
R response) |
Class<R> |
getResponseType() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitandThenpublic Boolean apply(Context context, R response)
apply in interface BiFunction<Context,R,Boolean>public Class<R> getResponseType()
getResponseType in interface ResponseHandler<R>Copyright © 2021. All rights reserved.