@NotExtensible @ThreadSafety(level=INTERFACE_NOT_THREADSAFE) public interface InMemoryInterceptedSearchRequest extends InMemoryInterceptedRequest
InMemoryOperationInterceptor
API.Modifier and Type | Method and Description |
---|---|
ReadOnlySearchRequest |
getRequest()
Retrieves the search request to be processed.
|
void |
sendSearchEntry(Entry entry)
Sends the provided search result entry to the client.
|
void |
sendSearchReference(SearchResultReference reference)
Sends the provided search result reference to the client.
|
void |
setRequest(SearchRequest searchRequest)
Replaces the search request to be processed.
|
getConnectedAddress, getConnectedPort, getConnectionID, getMessageID, getProperty, sendIntermediateResponse, sendUnsolicitedNotification, setProperty
@NotNull ReadOnlySearchRequest getRequest()
void setRequest(@NotNull SearchRequest searchRequest)
searchRequest
- The search request that should be processed
instead of the one that was originally received
from the client. It must not be null
.void sendSearchEntry(@NotNull Entry entry) throws LDAPException
InMemoryOperationInterceptor.processSearchEntry(com.unboundid.ldap.listener.interceptor.InMemoryInterceptedSearchEntry)
method of
all registered operation interceptors.entry
- The search result entry to be returned to the client. It
must not be null
. If the provided entry is a
SearchResultEntry
, then it may optionally include
one or more controls to provide to the client. If it is any
other type of Entry
, then it will not include any
controls.LDAPException
- If a problem is encountered while trying to send
the search result entry.void sendSearchReference(@NotNull SearchResultReference reference) throws LDAPException
InMemoryOperationInterceptor.processSearchReference(com.unboundid.ldap.listener.interceptor.InMemoryInterceptedSearchReference)
method of all
registered operation interceptors.reference
- The search result reference to be returned to the
client. It must not be null
.LDAPException
- If a problem is encountered while trying to send
the search result reference.