Class ValidatingInterceptor
java.lang.Object
io.fluxcapacitor.javaclient.tracking.handling.validation.ValidatingInterceptor
- All Implemented Interfaces:
DispatchInterceptor,HandlerInterceptor
public class ValidatingInterceptor
extends Object
implements HandlerInterceptor, DispatchInterceptor
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.fluxcapacitor.javaclient.tracking.handling.HandlerInterceptor
HandlerInterceptor.InterceptedHandler, HandlerInterceptor.MergedInterceptor -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioninterceptDispatch(Message message, MessageType messageType) interceptHandling(Function<DeserializingMessage, Object> function, Handler<DeserializingMessage> handler, String consumer) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.fluxcapacitor.javaclient.publishing.DispatchInterceptor
andThen, modifySerializedMessageMethods inherited from interface io.fluxcapacitor.javaclient.tracking.handling.HandlerInterceptor
andThen, wrap
-
Constructor Details
-
ValidatingInterceptor
public ValidatingInterceptor()
-
-
Method Details
-
interceptDispatch
- Specified by:
interceptDispatchin interfaceDispatchInterceptor
-
interceptHandling
public Function<DeserializingMessage,Object> interceptHandling(Function<DeserializingMessage, Object> function, Handler<DeserializingMessage> handler, String consumer) - Specified by:
interceptHandlingin interfaceHandlerInterceptor
-