public interface Middleware
This class is internal and is hence not for public use at this time. Its APIs are unstable and can change at any time.
| Modifier and Type | Method and Description |
|---|---|
void |
invoke(MiddlewareContext context,
MiddlewareChain chain)
Middlewares will override this method to include their own logics.
|
void invoke(MiddlewareContext context, MiddlewareChain chain) throws Exception
context - execution context that pass along middleware chainchain - middleware chain MiddlewareChainException - any exception that is thrown out in next middlewareCopyright © 2022. All rights reserved.