@NotExtensible @ThreadSafety(level=INTERFACE_NOT_THREADSAFE) public interface InMemoryInterceptedIntermediateResponse extends InMemoryInterceptedResult
InMemoryOperationInterceptor
API.Modifier and Type | Method and Description |
---|---|
IntermediateResponse |
getIntermediateResponse()
Retrieves the intermediate response to be returned to the client.
|
InMemoryInterceptedRequest |
getRequest()
Retrieves the request associated with the operation that is being
processed.
|
void |
setIntermediateResponse(IntermediateResponse response)
Replaces the intermediate response to be returned to the client.
|
getConnectedAddress, getConnectedPort, getConnectionID, getMessageID, getProperty, sendUnsolicitedNotification
@NotNull InMemoryInterceptedRequest getRequest()
@Nullable IntermediateResponse getIntermediateResponse()
void setIntermediateResponse(@Nullable IntermediateResponse response)
null
if the response should be suppressed rather than being
returned to the client.response
- The intermediate response to be returned to the client.
It may be null
if the response should be
suppressed rather than being returned to the client.