SearchResponseModel class

更新时间:
复制 MD 格式

Represents the response returned by the Client.Search() method. For more information, see Client class.

Class security

Thread-safe

Constructor

SearchResponseModel()

Set the headers parameter

Syntax

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

Description

ParameterTypeDescription
headersMapThe header information of the SearchResponseModel object.

Get the headers parameter

Syntax

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

Returned result

  • java.util.Map<String, String> headers parameter value

Set the body parameter

Syntax

SearchResponseModel setBody(String body)

Description

ParameterTypeDescription
bodyStringThe query results.

Get the body parameter

Syntax

String getBody()

Returned result

  • String body parameter value