Package io.fluxcapacitor.javaclient.web
Class WebsocketResponseInterceptor
java.lang.Object
io.fluxcapacitor.javaclient.web.WebsocketResponseInterceptor
- All Implemented Interfaces:
DispatchInterceptor
-
Field Summary
Fields inherited from interface io.fluxcapacitor.javaclient.publishing.DispatchInterceptor
noOp -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioninterceptDispatch(Message message, MessageType messageType) Intercepts the publication of a message.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, modifySerializedMessage
-
Constructor Details
-
WebsocketResponseInterceptor
public WebsocketResponseInterceptor()
-
-
Method Details
-
interceptDispatch
Description copied from interface:DispatchInterceptorIntercepts the publication of a message. Implementers can use this to modify the contents of a message or block the publication altogether.Return
nullor throw an exception to prevent publication of the message.- Specified by:
interceptDispatchin interfaceDispatchInterceptor
-