Class BinaryModifierApplier
java.lang.Object
de.gematik.test.tiger.mockserver.netty.proxy.BinaryModifierApplier
Applies all registered binary modifier plugins to a message. The plugins are applied in the order
in which they are registered.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapplyModifierPlugins(BinaryMessage message, io.netty.channel.ChannelHandlerContext ctx) Applies all registered binary modifier plugins to the given message.
-
Constructor Details
-
BinaryModifierApplier
-
-
Method Details
-
applyModifierPlugins
public List<BinaryMessage> applyModifierPlugins(BinaryMessage message, io.netty.channel.ChannelHandlerContext ctx) Applies all registered binary modifier plugins to the given message. The Applier will buffer message parts until a complete message is received. Thus, the result may be empty, even if the input is not. If no plugins are registered, the original message is returned unchanged.- Parameters:
message- the message to apply the plugins toctx- the ChannelHandlerContext from which the message originates- Returns:
- a list of modified binary messages
-