Package com.softlayer.api
Interface ResponseHandler<T>
-
- All Known Implementing Classes:
ResponseHandlerWithHeaders
public interface ResponseHandler<T>
Interface for handling async method callbacks
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onError(Exception ex)
Called when the method errored.void
onSuccess(T value)
Called when the method succeeds.
-