
com.softlayer.api.ResponseHandler Maven / Gradle / Ivy
package com.softlayer.api;
/** Interface for handling async method callbacks */
public interface ResponseHandler {
/** Called when the method errored. This is NOT called when onSuccess errors. */
public void onError(Exception ex);
/** Called when the method succeeds. */
public void onSuccess(T value);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy