Package org.ldaptive.handler
Class MergeResultHandler
- java.lang.Object
-
- org.ldaptive.transport.MessageFunctional<Q,S>
-
- org.ldaptive.transport.MessageFunctional.Function<SearchRequest,SearchResponse,T,T>
-
- org.ldaptive.handler.AbstractEntryHandler<SearchResponse>
-
- org.ldaptive.handler.MergeResultHandler
-
- 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.
-
-
Field Summary
Fields Modifier and Type Field Description private static int
HASH_CODE_SEED
hash code seed.-
Fields inherited from class org.ldaptive.handler.AbstractEntryHandler
logger
-
-
Constructor Summary
Constructors Constructor Description MergeResultHandler()
Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SearchResponse
apply(SearchResponse searchResponse)
boolean
equals(Object o)
int
hashCode()
String
toString()
-
Methods inherited from class org.ldaptive.handler.AbstractEntryHandler
handleAttribute, handleAttributeName, handleAttributes, handleAttributeValue, handleAttributeValue, handleDn, handleEntry
-
Methods inherited from class org.ldaptive.transport.MessageFunctional
getConnection, getHandle, getRequest, setConnection, setHandle, setRequest
-
-
-
-
Field Detail
-
HASH_CODE_SEED
private static final int HASH_CODE_SEED
hash code seed.- See Also:
- Constant Field Values
-
-
Method Detail
-
apply
public SearchResponse apply(SearchResponse searchResponse)
- Specified by:
apply
in interfaceFunction<SearchResponse,SearchResponse>
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classAbstractEntryHandler<SearchResponse>
-
hashCode
public int hashCode()
- Specified by:
hashCode
in classAbstractEntryHandler<SearchResponse>
-
-