public interface Control extends Serializable
的LDAPv3协议使用控制发送和接收更多的数据到预定义的操作行为。控件可以一起发送到服务器的LDAP操作。这些被称为请求控制。例如,一个“排序”的控制,可以发送一个LDAP搜索操作请求的结果是在一个特定的顺序返回。征求和主动控制还可以返回来自服务器的响应。这些控件被称为响应控件。例如,一个LDAP服务器可以定义一个特殊的控制返回更改通知。
此接口用于表示请求和响应控制。
ControlFactory
Modifier and Type | Field and Description |
---|---|
static boolean |
CRITICAL
指示一个关键控制。
|
static boolean |
NONCRITICAL
表示非关键控制。
|
Modifier and Type | Method and Description |
---|---|
byte[] |
getEncodedValue()
检索ASN.1 BER编码1的LDAP控制值。
|
String |
getID()
检索标识符指定LDAP控制对象。
|
boolean |
isCritical()
确定LDAP控制临界。
|
static final boolean CRITICAL
static final boolean NONCRITICAL
String getID()
boolean isCritical()
byte[] getEncodedValue()
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.