SearchResponseModel class

更新时间:
复制 MD 格式

Overview

This topic describes the SearchResponseModel class and its methods. The Client.Search() method returns an object of this class.

Class security

The SearchResponseModel class is thread-safe.

Constructor

SearchResponseModel()

Specify the headers parameter

Interface description

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

Parameter description

Parameter Name

Type

Description

headers

Map

The header information of the SearchResponseModel object.

Obtain the value of the headers parameter

Description

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

Returned result

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

Specify the body parameter

Interface description

SearchResponseModel setBody(String body)

Parameter description

Parameter name

Type

Description

body

String

Queries results.

Obtain the value of the body parameter

Description

String getBody()

Returned result

  • String body parameter value