public abstract class GenericObjectCallback extends Object
Constructor and Description |
---|
GenericObjectCallback() |
Modifier and Type | Method and Description |
---|---|
boolean |
isRequestStatisticNeed() |
boolean |
isRetryNeeded(int statusCode,
Throwable error) |
void |
onFailure(int statusCode,
Throwable error,
String content) |
void |
onFailure(Throwable error,
String content) |
void |
onGroupRequestFinished(int left,
int total,
LCObject object) |
void |
onSuccess(String content,
LCException e) |
void |
retry(Throwable error,
String content) |
public void onSuccess(String content, LCException e)
public void onGroupRequestFinished(int left, int total, LCObject object)
public boolean isRetryNeeded(int statusCode, Throwable error)
public boolean isRequestStatisticNeed()
Copyright © 2020, 美味书签(北京)信息技术有限公司 All rights reserved.