Created
February 17, 2016 19:35
-
-
Save Pacane/67ef96101287d09d86d0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public abstract class RestCallbackImpl<T> implements RestCallback<T> { | |
private Response response; | |
@Override | |
public void setResponse(Response response) { | |
this.response = response; | |
} | |
@Override | |
public void onFailure(Throwable throwable) { | |
onError(response); | |
} | |
public void onError(Response response) { | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment