Package io.vertx.serviceproxy
Interface ServiceInterceptor
-
- All Known Subinterfaces:
AuthenticationInterceptor,AuthorizationInterceptor
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface ServiceInterceptor
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Future<Message<JsonObject>>intercept(Vertx vertx, Map<String,Object> interceptorContext, Message<JsonObject> body)Perform the interceptor handling
-
-
-
Method Detail
-
intercept
Future<Message<JsonObject>> intercept(Vertx vertx, Map<String,Object> interceptorContext, Message<JsonObject> body)
Perform the interceptor handling- Parameters:
vertx- the VertX instanceinterceptorContext- context to be shared between interceptorsbody- message body- Returns:
Future
-
-