Skip to content

Instantly share code, notes, and snippets.

@abdurahmanadilovic
Last active December 2, 2017 05:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save abdurahmanadilovic/3f40ec45594c135b1572406256e5d073 to your computer and use it in GitHub Desktop.
Save abdurahmanadilovic/3f40ec45594c135b1572406256e5d073 to your computer and use it in GitHub Desktop.
Generic REST Listener Interface in Java
interface RESTListener<T>{
void operationFailed(String reason);
void operationSuccess(T object);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment