All Products
Search
Document Center

OpenSearch:PushDocumentsResponseModel class

Last Updated:Feb 24, 2023

Overview

This topic describes the PushDocumentsResponseModel class and its methods. The PushDocumentsResponseModel class is the returned object of the Client.pushDocuments() method.

Class security

Thread-safe

Define a constructor

PushDocumentsResponseModel()

Specify the headers parameter

Syntax

PushDocumentsResponseModel setHeaders(java.util.Map<String, String> headers)

Description

Parameter

Type

Description

headers

Map

The information about the PushDocumentsResponseModel header.

Obtain the value of the headers parameter

Syntax

java.util.Map<String, String> getHeaders()

Returned result

  • java.util.Map the <String, String> Headers parameter value

Specify the body parameter

Syntax

PushDocumentsResponseModel setBody(String body)

Description

Parameter

Type

Description

body

String

Returns the data that you query.

Obtain the value of the body parameter

Syntax

String getBody()

Returned result

  • String Body parameter value