Feature description
This topic describes the PushDocumentsRequestModel class, which is a parameter for the Client.pushDocuments() method.
Thread safety
The PushDocumentsRequestModel class is thread-safe.
Constructor
PushDocumentsRequestModel()Set headers
Description
PushDocumentsRequestModel setHeaders(java.util.Map<String, String> headers)Parameters
Parameter Name | Type | Description |
headers | Map | The request header information. |
Get headers
Description
java.util.Map<String, String> getHeaders()Return value
The value of the Headers parameter (java.util.Map<String, String>)
Set the body
Interface Description
PushDocumentsRequestModel setBody(java.util.List<java.util.Map<String, ?>> body)
Parameters
Parameter name | Type | Description |
body | java.util.List<java.util.Map<String, ?>> | The request body information. |
Get the body
Description
java.util.List<java.util.Map<String, ?>> getBody()Return value
java.util.List<java.util.Map<String, ?>>: The value of the Body parameter.
该文章对您有帮助吗?