@Extensible @ThreadSafety(level=INTERFACE_THREADSAFE) public interface SearchEntryTransformer
LDAPListenerClientConnection
.Modifier and Type | Method and Description |
---|---|
ObjectPair<SearchResultEntryProtocolOp,Control[]> |
transformEntry(int messageID,
SearchResultEntryProtocolOp entry,
Control[] controls)
Transforms the provided search result entry and/or set of controls to alter
what will be returned to the client.
|
@Nullable ObjectPair<SearchResultEntryProtocolOp,Control[]> transformEntry(int messageID, @NotNull SearchResultEntryProtocolOp entry, @NotNull Control[] controls)
messageID
- The message ID for the associated search operation.entry
- The search result entry to be processed. It will not be
null
.controls
- The set of controls to be processed. It will not be
null
but may be empty if there are no controls.ObjectPair
containing a possibly updated entry and set
of controls, or null
to indicate that the entry should not
be returned to the client.