目录

Class info
public abstract class JsonBatchCallback<T> implements BatchCallback<T,JsonErrorContainer>
BatchRequest class.

Public Constructor Summary

Constructor name

JsonBatchCallback()

Constructor for the JsonBatchCallback class.

Public Method Summary

Return typeMethod name
void

onFailure(JsonErrorContainer e, HttpHeaders responseHeaders)

Executes when a batch processing failure response in JSON format is returned.

Public Constructors

constructor
public JsonBatchCallback()
Constructs an object of the JsonBatchCallback class.

Public Methods

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 nameParameter desc
eInstance of the JsonErrorContainer class.
responseHeadersBatch request header.

Throws

Parameter nameParameter desc
java.io.IOExceptionI/O exception thrown upon an API call failure. You can use the getMessage() method to obtain the error description.