Class AbstractRequestJournal
java.lang.Object
com.github.tomakehurst.wiremock.verification.AbstractRequestJournal
- All Implemented Interfaces:
RequestJournal
- Direct Known Subclasses:
StoreBackedRequestJournal
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAbstractRequestJournal(Integer maxEntries, Map<String, RequestMatcherExtension> customMatchers, RequestJournalStore store) -
Method Summary
Modifier and TypeMethodDescriptionintcountRequestsMatching(RequestPattern requestPattern) getRequestsMatching(RequestPattern requestPattern) getServeEvent(UUID id) voidremoveEvent(UUID eventId) removeEventsMatching(RequestPattern requestPattern) removeServeEventsForStubsMatchingMetadata(StringValuePattern metadataPattern) voidrequestReceived(ServeEvent serveEvent) voidreset()voidserveCompleted(ServeEvent serveEvent)
-
Field Details
-
store
-
-
Constructor Details
-
AbstractRequestJournal
public AbstractRequestJournal(Integer maxEntries, Map<String, RequestMatcherExtension> customMatchers, RequestJournalStore store)
-
-
Method Details
-
countRequestsMatching
- Specified by:
countRequestsMatchingin interfaceRequestJournal
-
getRequestsMatching
- Specified by:
getRequestsMatchingin interfaceRequestJournal
-
requestReceived
- Specified by:
requestReceivedin interfaceRequestJournal
-
serveCompleted
- Specified by:
serveCompletedin interfaceRequestJournal
-
removeEvent
- Specified by:
removeEventin interfaceRequestJournal
-
removeEventsMatching
- Specified by:
removeEventsMatchingin interfaceRequestJournal
-
removeServeEventsForStubsMatchingMetadata
public List<ServeEvent> removeServeEventsForStubsMatchingMetadata(StringValuePattern metadataPattern) - Specified by:
removeServeEventsForStubsMatchingMetadatain interfaceRequestJournal
-
getAllServeEvents
- Specified by:
getAllServeEventsin interfaceRequestJournal
-
getServeEvent
- Specified by:
getServeEventin interfaceRequestJournal
-
reset
public void reset()- Specified by:
resetin interfaceRequestJournal
-