protected class JLdapConnection.JLdapSearchIterator extends JLdapConnection.AbstractJLdapSearch implements SearchIterator
Modifier and Type | Field and Description |
---|---|
private Response<Void> |
response
Response data.
|
private JLdapConnection.SearchResultIterator |
resultIterator
Ldap search result iterator.
|
request, util
Constructor and Description |
---|
JLdapSearchIterator(SearchRequest sr)
Creates a new jldap search iterator.
|
Modifier and Type | Method and Description |
---|---|
void |
close()
Close any resources associated with this iterator.
|
Response<Void> |
getResponse()
Returns the response data associated with this search or null if this iterator has more ldap entries to return.
|
boolean |
hasNext()
Returns true if the iteration has more elements.
|
void |
initialize()
Initializes this jldap search iterator.
|
SearchItem |
next()
Returns the next element in the iteration.
|
getLDAPSearchConstraints, getSearchScope, ignoreSearchException, processLDAPIntermediateResponse, processLDAPSearchResult, processLDAPSearchResultReference, search
private JLdapConnection.SearchResultIterator resultIterator
public JLdapSearchIterator(SearchRequest sr)
sr
- search requestpublic void initialize() throws LdapException
LdapException
- if an error occurspublic boolean hasNext() throws LdapException
SearchIterator
hasNext
in interface SearchIterator
LdapException
- if an error occurspublic SearchItem next() throws LdapException
SearchIterator
next
in interface SearchIterator
LdapException
- if an error occurspublic Response<Void> getResponse()
SearchIterator
getResponse
in interface SearchIterator
public void close() throws LdapException
SearchIterator
close
in interface SearchIterator
LdapException
- if an error occursCopyright © 2003-2019 Virginia Tech. All Rights Reserved.