public interface ReturnResolver
EventContext| Modifier and Type | Method and Description |
|---|---|
void |
resolve(Object returnValue,
EventContext context)
Resolves the return value against the given
EventContext. |
void |
verifyOrThrow(HandlerDescriptor descriptor)
Verifies the resolver, based on the final
HandlerDescriptor. |
void resolve(Object returnValue, EventContext context)
EventContext.
The method should put the return value on the EventContext under the expected key.returnValue - the return valuecontext - the context, which is currently being processedvoid verifyOrThrow(HandlerDescriptor descriptor)
HandlerDescriptor.descriptor - the HandlerDescriptorIllegalArgumentException - if the verification failedCopyright © 2021. All rights reserved.