Interface StubMappingStore
- All Known Implementing Classes:
InMemoryStubMappingStore
public interface StubMappingStore
-
Method Summary
Modifier and TypeMethodDescriptionadd(StubMapping stub) voidclear()default Stream<StubMapping>findAllMatchingRequest(Request request, Map<String, RequestMatcherExtension> customMatchers, Consumer<SubEvent> subEventConsumer) getAll()voidreplace(StubMapping existing, StubMapping updated)
-
Method Details
-
getAll
Stream<StubMapping> getAll() -
get
-
findAllMatchingRequest
default Stream<StubMapping> findAllMatchingRequest(Request request, Map<String, RequestMatcherExtension> customMatchers, Consumer<SubEvent> subEventConsumer) -
add
-
replace
-
remove
-
clear
void clear()
-