D
- the inbound Dispatch typeE
- the outbound Event type@FunctionalInterface public interface DispatchHandler<D extends Dispatch,E extends Event>
Modifier and Type | Method and Description |
---|---|
Mono<E> |
handle(DispatchContext<D> context)
Operates and transforms a Dispatch event with its context, from gateway to user-friendly Events, so it may be
further routed to an event dispatcher downstream.
|
Mono<E> handle(DispatchContext<D> context)
The context allows access to underlying client resources for operations like caching.
context
- the dispatch context