Class SnapshotStubMappingBodyExtractor
- java.lang.Object
-
- com.github.tomakehurst.wiremock.recording.SnapshotStubMappingBodyExtractor
-
public class SnapshotStubMappingBodyExtractor extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description SnapshotStubMappingBodyExtractor(BlobStore filesBlobStore)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
extractInPlace(StubMapping stubMapping)
Extracts body of the ResponseDefinition to a file written to the files source.
-
-
-
Constructor Detail
-
SnapshotStubMappingBodyExtractor
public SnapshotStubMappingBodyExtractor(BlobStore filesBlobStore)
-
-
Method Detail
-
extractInPlace
public void extractInPlace(StubMapping stubMapping)
Extracts body of the ResponseDefinition to a file written to the files source. Modifies the ResponseDefinition to point to the file in-place.- Parameters:
stubMapping
- Stub mapping to extract
-
-