PageResponseControl DataObject
PageResponseControl 返回请求的搜索结果以及一个 cookie,以使请求者能够获取下一个页面。
PageResponseControl 数据对象的结构由以下内容组成:
- totalSize
- 指示页面的大小。
- cookie
- 包含返回到 PageControl 的 cookie,以使服务器能够获取下一个要搜索的页面。
XML 模式定义
以下是 PageResponseControl 数据对象的 XML 模式定义:
<xsd:complexType name="PageResponseControl">
<xsd:complexContent>
<xsd:extension base="Control">
<xsd:attribute name="totalSize" type="xsd:int"/>
<xsd:attribute name="cookie" type="xsd:hexBinary"/>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
样本数据图
以下是从搜索 API 返回的样本 PageResponseControl 数据对象。 如果页面为最后一个页面,那么不会返回 PageResposneControl。
<wim:controls xsi:type="wim:PageResponseControl"
cookie="57494D53656172636843616368654E616D6574696D653A31313239353538343136383636"
totalSize="15"/>