public final class PagedResultsResponseControl extends BasicControl
在PagedResultsControl
代码示例说明了如何使用这个类可以。
实现分页结果中定义的RFC 2696 LDAPv3响应控制这类。控件的值有以下ASN. 1定义:
realsearchcontrolvalue::=序列{大小的整数(0。最大整数值),从客户端请求页面大小从服务器上的结果集大小估计Cookie字符串}
PagedResultsControl
,
Serialized Form
Modifier and Type | Field and Description |
---|---|
static String |
OID
分页的结果响应控制分配的对象标识符是1.2.840.113556.1.4.319。
|
criticality, id, value
CRITICAL, NONCRITICAL
Constructor and Description |
---|
PagedResultsResponseControl(String id, boolean criticality, byte[] value)
构建了一个分页结果响应控制。
|
Modifier and Type | Method and Description |
---|---|
byte[] |
getCookie()
检索服务器生成的“”“”“”。
|
int |
getResultSize()
检索搜索结果中的条目的数目(估计)。
|
getEncodedValue, getID, isCritical
public static final String OID
public PagedResultsResponseControl(String id, boolean criticality, byte[] value) throws IOException
id
-控制的对象标识符字符串。
criticality
-控制的重要性。
value
-控制的ASN.1 BER编码的值1。它没有被克隆-任何值的变化都会影响到控件的内容。
IOException
-如果在解码控件的值时出错。
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.