Package org.springframework.ldap.core
Interface LdapClient.ListBindingsSpec
- Enclosing interface:
- LdapClient
public static interface LdapClient.ListBindingsSpec
The specifications for the
LdapClient.listBindings(java.lang.String)
request.-
Method Summary
Modifier and TypeMethodDescription<T> List<T>
toList
(ContextMapper<T> mapper) Return the entry's children as a list of mapped results<T> List<T>
toList
(NameClassPairMapper<T> mapper) Return the entry's children as a list of mapped results<T> Stream<T>
toStream
(ContextMapper<T> mapper) Return the entry's children as a stream of mapped results.<T> Stream<T>
toStream
(NameClassPairMapper<T> mapper) Return the entry's children as a stream of mapped results.
-
Method Details
-
toList
Return the entry's children as a list of mapped results- Parameters:
mapper
- theNameClassPairMapper
strategy to mapping each search result- Returns:
- the entry's children or an empty list
-
toList
Return the entry's children as a list of mapped results- Parameters:
mapper
- theContextMapper
strategy to mapping each search result- Returns:
- the entry's children or an empty list
-
toStream
Return the entry's children as a stream of mapped results. Note that theStream
must be closed when done reading from it.- Parameters:
mapper
- theNameClassPairMapper
strategy to mapping each search result- Returns:
- the entry's children or an empty stream
-
toStream
Return the entry's children as a stream of mapped results. Note that theStream
must be closed when done reading from it.- Parameters:
mapper
- theContextMapper
strategy to mapping each search result- Returns:
- the entry's children or an empty stream
-