Interface Info |
|---|
public interface BatchCallback<T, E> BatchCallback API. |
Qualifier and Type | Method Name and Description |
|---|---|
void | onFailure(E e, HttpHeaders responseHeaders) Executes when batch processing fails. |
void | onSuccess(T t, HttpHeaders responseHeaders) Executes when batch processing is successful. |
Method |
|---|
void onSuccess(T t, HttpHeaders responseHeaders) throws IOException; Executes when batch processing is successful. |
Parameters
Name | Description |
|---|---|
t | Data model instance. |
responseHeaders | Batch request header. |
Throws
Name | Description |
|---|---|
java.io.IOException | I/O exception thrown upon an API call failure. You can use the getMessage() method to obtain the error description. |
Method |
|---|
void onFailure(E e, HttpHeaders responseHeaders) throws IOException Executes when batch processing fails. |
Parameters
Name | Description |
|---|---|
e | Instance of a failure response. |
responseHeaders | Batch request header. |
Throws
Name | Description |
|---|---|
java.io.IOException | I/O exception thrown upon an API call failure. You can use the getMessage() method to obtain the error description. |