@FunctionalInterface public interface WebHook
Intercept before and after each request logic processing.
限定符和类型 | 方法和说明 |
---|---|
default boolean |
after(RouteContext context)
In the route calls after execution
|
boolean |
before(RouteContext context)
In the route calls before execution
|
boolean before(RouteContext context)
context
- the current route contextdefault boolean after(RouteContext context)
context
- the current route contextCopyright © 2018. All rights reserved.