Class BinaryModifierApplier

java.lang.Object
de.gematik.test.tiger.mockserver.netty.proxy.BinaryModifierApplier

public class BinaryModifierApplier extends Object
Applies all registered binary modifier plugins to a message. The plugins are applied in the order in which they are registered.
  • Constructor Details

  • 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 to
      ctx - the ChannelHandlerContext from which the message originates
      Returns:
      a list of modified binary messages