PushDocumentsResponseModel is the response object returned by Client.pushDocuments(). It exposes getter and setter methods for the response headers and body.
Thread safety: Thread-safe.
Constructor
PushDocumentsResponseModel()Methods
setHeaders
Syntax
PushDocumentsResponseModel setHeaders(java.util.Map<String, String> headers)Parameters
| Parameter | Type | Description |
|---|---|---|
headers | Map<String, String> | The information about the PushDocumentsResponseModel header. |
getHeaders
Syntax
java.util.Map<String, String> getHeaders()Return value
A java.util.Map<String, String> containing the Headers parameter value.
setBody
Syntax
PushDocumentsResponseModel setBody(String body)Parameters
| Parameter | Type | Description |
|---|---|---|
body | String | The response body returned by the push operation. |
getBody
Syntax
String getBody()Return value
A String containing the Body parameter value.