| Class info |
| public abstract class JsonBatchCallback<T> implements BatchCallback<T,JsonErrorContainer> |
| BatchRequest class. |
| Constructor name |
JsonBatchCallback() Constructor for the JsonBatchCallback class. |
| Return type | Method name |
| void | onFailure(JsonErrorContainer e, HttpHeaders responseHeaders) Executes when a batch processing failure response in JSON format is returned. |
| constructor |
| public JsonBatchCallback() |
| Constructs an object of the JsonBatchCallback class. |
| Method |
| public final void onFailure(JsonErrorContainer e, HttpHeaders responseHeaders) throws IOException |
| Executes when a batch processing failure response in JSON format is returned. |
Parameters
| Parameter name | Parameter desc |
| e | Instance of the JsonErrorContainer class. |
| responseHeaders | Batch request header. |
Throws
| Parameter name | Parameter desc |
| java.io.IOException | I/O exception thrown upon an API call failure. You can use the getMessage() method to obtain the error description. |