Package org.ldaptive.handler
Class MergeResultHandler
java.lang.Object
- All Implemented Interfaces:
Function<SearchResponse,,SearchResponse> SearchResultHandler
public class MergeResultHandler
extends AbstractEntryHandler<SearchResponse>
implements SearchResultHandler
Merges the values of the attributes in all entries into a single entry.
-
Nested Class Summary
-
Field Summary
FieldsFields inherited from class org.ldaptive.handler.AbstractEntryHandler
logger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapply(SearchResponse searchResponse) booleaninthashCode()toString()Methods inherited from class org.ldaptive.handler.AbstractEntryHandler
handleAttribute, handleAttributeName, handleAttributes, handleAttributeValue, handleAttributeValue, handleDn, handleEntryMethods inherited from class org.ldaptive.transport.MessageFunctional
getConnection, getHandle, getRequest, setConnection, setHandle, setRequest
-
Field Details
-
HASH_CODE_SEED
private static final int HASH_CODE_SEEDhash code seed.- See Also:
-
-
Constructor Details
-
MergeResultHandler
public MergeResultHandler()Default constructor.
-
-
Method Details
-
apply
- Specified by:
applyin interfaceFunction<SearchResponse,SearchResponse>
-
equals
- Overrides:
equalsin classAbstractEntryHandler<SearchResponse>
-
hashCode
public int hashCode()- Specified by:
hashCodein classAbstractEntryHandler<SearchResponse>
-
toString
-