Class SnapshotStubMappingGenerator

  • All Implemented Interfaces:
    java.util.function.Function<ServeEvent,​StubMapping>

    @Deprecated(forRemoval=true)
    public class SnapshotStubMappingGenerator
    extends java.lang.Object
    implements java.util.function.Function<ServeEvent,​StubMapping>
    Deprecated, for removal: This API element is subject to removal in a future version.
    Transforms ServeEvents to StubMappings using RequestPatternTransformer and LoggedResponseDefinitionTransformer
    • Constructor Detail

      • SnapshotStubMappingGenerator

        @Deprecated(forRemoval=true)
        public SnapshotStubMappingGenerator​(java.util.Map<java.lang.String,​CaptureHeadersSpec> captureHeaders,
                                            RequestBodyPatternFactory requestBodyPatternFactory)
        Deprecated, for removal: This API element is subject to removal in a future version.
    • Method Detail

      • apply

        public StubMapping apply​(ServeEvent event)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Specified by:
        apply in interface java.util.function.Function<ServeEvent,​StubMapping>