Intelligent Assistant
Chat with our virtual assistant to get answers promptly.
We use essential cookies for the website to function, as well as analytics cookies for analyzing and creating statistics of the website performance. To agree to the use of analytics cookies, click "Accept All". You can manage your preferences at any time by clicking "Cookie Settings" on the footer. More Information.
HMS Core
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. |
Intelligent Assistant
Chat with our virtual assistant to get answers promptly.
Quick start
Helps you find desired resources with ease.