Class InMemoryStubMappingStore
- java.lang.Object
-
- com.github.tomakehurst.wiremock.store.InMemoryStubMappingStore
-
- All Implemented Interfaces:
StubMappingStore
public class InMemoryStubMappingStore extends java.lang.Object implements StubMappingStore
-
-
Constructor Summary
Constructors Constructor Description InMemoryStubMappingStore()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(StubMapping stubMapping)voidclear()java.util.Optional<StubMapping>get(java.util.UUID id)java.util.stream.Stream<StubMapping>getAll()voidremove(StubMapping stubMapping)voidreplace(StubMapping existing, StubMapping updated)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.github.tomakehurst.wiremock.store.StubMappingStore
findAllMatchingRequest
-
-
-
-
Method Detail
-
get
public java.util.Optional<StubMapping> get(java.util.UUID id)
- Specified by:
getin interfaceStubMappingStore
-
remove
public void remove(StubMapping stubMapping)
- Specified by:
removein interfaceStubMappingStore
-
clear
public void clear()
- Specified by:
clearin interfaceStubMappingStore
-
getAll
public java.util.stream.Stream<StubMapping> getAll()
- Specified by:
getAllin interfaceStubMappingStore
-
add
public void add(StubMapping stubMapping)
- Specified by:
addin interfaceStubMappingStore
-
replace
public void replace(StubMapping existing, StubMapping updated)
- Specified by:
replacein interfaceStubMappingStore
-
-