Interface LdapClient.ListBindingsSpec

Enclosing interface:
LdapClient

public static interface LdapClient.ListBindingsSpec
The specifications for the LdapClient.listBindings(java.lang.String) request.
  • Method Details

    • toList

      <T> List<T> toList(NameClassPairMapper<T> mapper)
      Return the entry's children as a list of mapped results
      Parameters:
      mapper - the NameClassPairMapper strategy to mapping each search result
      Returns:
      the entry's children or an empty list
    • toList

      <T> List<T> toList(ContextMapper<T> mapper)
      Return the entry's children as a list of mapped results
      Parameters:
      mapper - the ContextMapper strategy to mapping each search result
      Returns:
      the entry's children or an empty list
    • toStream

      <T> Stream<T> toStream(NameClassPairMapper<T> mapper)
      Return the entry's children as a stream of mapped results. Note that the Stream must be closed when done reading from it.
      Parameters:
      mapper - the NameClassPairMapper strategy to mapping each search result
      Returns:
      the entry's children or an empty stream
    • toStream

      <T> Stream<T> toStream(ContextMapper<T> mapper)
      Return the entry's children as a stream of mapped results. Note that the Stream must be closed when done reading from it.
      Parameters:
      mapper - the ContextMapper strategy to mapping each search result
      Returns:
      the entry's children or an empty stream