public class BlockingHandlerDecorator extends Object implements Handler<RoutingContext>
Vertx.executeBlocking(Handler, Handler)
and wrapping the context to overload RoutingContext.next() so that
the next handler is run on the original event loop| Constructor and Description |
|---|
BlockingHandlerDecorator(Handler<RoutingContext> decoratedHandler,
boolean ordered) |
| Modifier and Type | Method and Description |
|---|---|
void |
handle(RoutingContext context)
Something has happened, so handle it.
|
public BlockingHandlerDecorator(Handler<RoutingContext> decoratedHandler, boolean ordered)
public void handle(RoutingContext context)
Handlerhandle in interface Handler<RoutingContext>context - the event to handleCopyright © 2020. All rights reserved.