protected class ApacheLdapConnection.ApacheLdapSearchIterator extends ApacheLdapConnection.AbstractApacheLdapSearch implements SearchIterator
| Modifier and Type | Field and Description |
|---|---|
private org.apache.directory.api.ldap.model.cursor.SearchCursor |
cursor
Ldap search cursor.
|
private Response<Void> |
response
Response data.
|
request, util| Constructor and Description |
|---|
ApacheLdapSearchIterator(SearchRequest sr)
Creates a new apache ldap search iterator.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
Response<Void> |
getResponse() |
boolean |
hasNext() |
void |
initialize()
Initializes this apache ldap search iterator.
|
SearchItem |
next() |
getAliasDerefMode, getSearchRequest, getSearchScope, processIntermediateResponse, processSearchResultEntry, processSearchResultReference, searchprivate org.apache.directory.api.ldap.model.cursor.SearchCursor cursor
public ApacheLdapSearchIterator(SearchRequest sr)
sr - search requestpublic void initialize()
throws LdapException
LdapException - if an error occurspublic boolean hasNext()
throws LdapException
hasNext in interface SearchIteratorLdapExceptionpublic SearchItem next() throws LdapException
next in interface SearchIteratorLdapExceptionpublic Response<Void> getResponse()
getResponse in interface SearchIteratorpublic void close()
throws LdapException
close in interface SearchIteratorLdapExceptionCopyright © 2003-2016 Virginia Tech. All Rights Reserved.