@NotExtensible @ThreadSafety(level=INTERFACE_NOT_THREADSAFE) public interface InMemoryInterceptedExtendedResult extends InMemoryInterceptedResult
InMemoryOperationInterceptor
API.Modifier and Type | Method and Description |
---|---|
ExtendedRequest |
getRequest()
Retrieves the extended request that was processed.
|
ExtendedResult |
getResult()
Retrieves the extended result to be returned to the client.
|
void |
sendIntermediateResponse(IntermediateResponse intermediateResponse)
Sends the provided intermediate response message to the client.
|
void |
setResult(ExtendedResult extendedResult)
Replaces the extended result to be returned to the client.
|
getConnectedAddress, getConnectedPort, getConnectionID, getMessageID, getProperty, sendUnsolicitedNotification
@NotNull ExtendedRequest getRequest()
@Nullable ExtendedResult getResult()
void setResult(@NotNull ExtendedResult extendedResult)
extendedResult
- The extended result that should be returned to the
client instead of the result originally generated
by the in-memory directory server. It must not be
null
.void sendIntermediateResponse(@NotNull IntermediateResponse intermediateResponse) throws LDAPException
InMemoryOperationInterceptor.processIntermediateResponse(com.unboundid.ldap.listener.interceptor.InMemoryInterceptedIntermediateResponse)
method of
all registered operation interceptors.intermediateResponse
- The intermediate response to send to the
client. It must not be null
.LDAPException
- If a problem is encountered while trying to send
the intermediate response.