io.castle.client.model.AsyncCallbackHandler Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of castle-java Show documentation
Show all versions of castle-java Show documentation
Castle adds real-time monitoring of your authentication stack, instantly notifying you and your users
on potential account hijacks.
package io.castle.client.model;
/**
* Callback interface used to handle async requests responses.
*
* An implementation of this interface allows the user to handle async request success and failure cases in a custom manner.
*
* @param The type of the internal response after execution.
*/
public interface AsyncCallbackHandler {
void onResponse(T response);
void onException(Exception exception);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy