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. */
void onError(Exception ex);
/** Called when the method succeeds. */
void onSuccess(T value);
}