com.softlayer.api.ResponseHandler Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of softlayer-api-client Show documentation
Show all versions of softlayer-api-client Show documentation
API client for accessing the SoftLayer API
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);
}