public class DispatchHandlers extends Object implements DispatchEventMapper
Dispatch
to Event
mapping operations.Constructor and Description |
---|
DispatchHandlers() |
Modifier and Type | Method and Description |
---|---|
<D,E extends Event> |
handle(DispatchContext<D> context)
Process a
Dispatch object wrapped with its context to potentially obtain an Event . |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
discardEvents, emitEvents, noOp
public <D,E extends Event> Mono<E> handle(DispatchContext<D> context)
Dispatch
object wrapped with its context to potentially obtain an Event
.handle
in interface DispatchEventMapper
D
- the Dispatch typeE
- the resulting Event typecontext
- the DispatchContext used with this Dispatch object