
org.opensearch.migrations.replay.TupleParserChainConsumer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of trafficReplayer Show documentation
Show all versions of trafficReplayer Show documentation
Everything opensearch migrations
package org.opensearch.migrations.replay;
import java.util.function.BiConsumer;
import java.util.function.Consumer;
import lombok.NonNull;
public class TupleParserChainConsumer implements Consumer {
private final BiConsumer innerConsumer;
public TupleParserChainConsumer(@NonNull BiConsumer innerConsumer) {
this.innerConsumer = innerConsumer;
}
@Override
public void accept(SourceTargetCaptureTuple tuple) {
var parsedMsgs = new ParsedHttpMessagesAsDicts(tuple);
innerConsumer.accept(tuple, parsedMsgs);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy