Package org.ldaptive.provider.jldap
Class JLdapConnection.JLdapSearchIterator
- java.lang.Object
-
- org.ldaptive.provider.jldap.JLdapConnection.AbstractJLdapSearch
-
- org.ldaptive.provider.jldap.JLdapConnection.JLdapSearchIterator
-
- All Implemented Interfaces:
SearchIterator
- Enclosing class:
- JLdapConnection
protected class JLdapConnection.JLdapSearchIterator extends JLdapConnection.AbstractJLdapSearch implements SearchIterator
Search iterator for JLdap search results.
-
-
Field Summary
Fields Modifier and Type Field Description private Response<Void>responseResponse data.private JLdapConnection.SearchResultIteratorresultIteratorLdap search result iterator.-
Fields inherited from class org.ldaptive.provider.jldap.JLdapConnection.AbstractJLdapSearch
request, util
-
-
Constructor Summary
Constructors Constructor Description JLdapSearchIterator(SearchRequest sr)Creates a new jldap search iterator.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()Response<Void>getResponse()booleanhasNext()voidinitialize()Initializes this jldap search iterator.SearchItemnext()-
Methods inherited from class org.ldaptive.provider.jldap.JLdapConnection.AbstractJLdapSearch
getLDAPSearchConstraints, getSearchScope, ignoreSearchException, processLDAPIntermediateResponse, processLDAPSearchResult, processLDAPSearchResultReference, search
-
-
-
-
Field Detail
-
resultIterator
private JLdapConnection.SearchResultIterator resultIterator
Ldap search result iterator.
-
-
Constructor Detail
-
JLdapSearchIterator
public JLdapSearchIterator(SearchRequest sr)
Creates a new jldap search iterator.- Parameters:
sr- search request
-
-
Method Detail
-
initialize
public void initialize() throws LdapExceptionInitializes this jldap search iterator.- Throws:
LdapException- if an error occurs
-
hasNext
public boolean hasNext() throws LdapException- Specified by:
hasNextin interfaceSearchIterator- Throws:
LdapException
-
next
public SearchItem next() throws LdapException
- Specified by:
nextin interfaceSearchIterator- Throws:
LdapException
-
getResponse
public Response<Void> getResponse()
- Specified by:
getResponsein interfaceSearchIterator
-
close
public void close() throws LdapException- Specified by:
closein interfaceSearchIterator- Throws:
LdapException
-
-