目录

JsonBatchCallback

Class Info

public abstract class JsonBatchCallback<T> implements BatchCallback<T, JsonErrorContainer>

JsonBatchCallback class.

Public Constructor Summary

Constructor Name

JsonBatchCallback()

Constructs a JsonBatchCallback object.

Public Method Summary

Qualifier and Type

Method Name and Description

void

onFailure(JsonErrorContainer e, HttpHeaders responseHeaders)

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

Public Constructors

[h2]JsonBatchCallback

Constructor

public JsonBatchCallback()

Constructs a JsonBatchCallback object.

Public Methods

[h2]onFailure

Method

public final void onFailure(JsonErrorContainer e, HttpHeaders responseHeaders) throws IOException

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

Parameters

Name

Description

e

Instance of the JsonErrorContainer class.

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.