Class SnapshotStubMappingPostProcessor
- java.lang.Object
-
- com.github.tomakehurst.wiremock.recording.SnapshotStubMappingPostProcessor
-
@Deprecated(forRemoval=true) public class SnapshotStubMappingPostProcessor extends java.lang.ObjectDeprecated, for removal: This API element is subject to removal in a future version.This class will become non-public in the next major version. If you rely on it, please contact the maintainers.Performs stateful post-processing tasks on stub mappings generated from ServeEvents:- Run any applicable StubMappingTransformers against the stub mappings.
- Detect duplicate requests and either discard them or turn them into scenarios.
- Extract response bodies to a separate file, if applicable.
-
-
Constructor Summary
Constructors Constructor Description SnapshotStubMappingPostProcessor(boolean shouldRecordRepeatsAsScenarios, SnapshotStubMappingTransformerRunner transformerRunner, ResponseDefinitionBodyMatcher bodyExtractMatcher, SnapshotStubMappingBodyExtractor bodyExtractor)Deprecated, for removal: This API element is subject to removal in a future version.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.util.List<StubMapping>process(java.util.Collection<StubMapping> stubMappings)Deprecated, for removal: This API element is subject to removal in a future version.
-
-
-
Constructor Detail
-
SnapshotStubMappingPostProcessor
public SnapshotStubMappingPostProcessor(boolean shouldRecordRepeatsAsScenarios, SnapshotStubMappingTransformerRunner transformerRunner, ResponseDefinitionBodyMatcher bodyExtractMatcher, SnapshotStubMappingBodyExtractor bodyExtractor)Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Detail
-
process
public java.util.List<StubMapping> process(java.util.Collection<StubMapping> stubMappings)
Deprecated, for removal: This API element is subject to removal in a future version.
-
-