@Extensible @ThreadSafety(level=INTERFACE_THREADSAFE) public interface IntermediateResponseTransformer
Modifier and Type | Method and Description |
---|---|
ObjectPair<IntermediateResponseProtocolOp,Control[]> |
transformIntermediateResponse(int messageID,
IntermediateResponseProtocolOp response,
Control[] controls)
Transforms the provided intermediate response and/or set of controls to
alter what will be returned to the client.
|
@Nullable ObjectPair<IntermediateResponseProtocolOp,Control[]> transformIntermediateResponse(int messageID, @NotNull IntermediateResponseProtocolOp response, @NotNull Control[] controls)
messageID
- The message ID for the associated search operation.response
- The intermediate response 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 intermediate
response and set of controls, or null
to indicate that the
response should not be returned to the client.