public interface ResultHandler
LDAPConnection.search
method. Search responses received
during the execution of the method result in calls to the methods defined
in this interface.Modifier and Type | Method and Description |
---|---|
void |
searchResultEntry(java.lang.String name,
java.util.Map attributes)
Receive an LDAP SearchResultEntry response.
|
void |
searchResultReference(java.util.List urls)
Receive an LDAP SearchResultReference response.
|
void searchResultEntry(java.lang.String name, java.util.Map attributes)
typesOnly
was true
, the value
for each attribute will be null. Otherwise it will be a Set of
attribute values, which may be of the following types:
name
- the object name DNattributes
- a map of attribute names to valuesvoid searchResultReference(java.util.List urls)
urls
- the list of LDAP URLs