public class MockServerEventLog extends MockServerEventLogNotifier
Constructor and Description |
---|
MockServerEventLog(MockServerLogger mockServerLogger,
Scheduler scheduler,
boolean asynchronousEventProcessing) |
notifyListeners, registerListener, unregisterListener
equals, hashCode, toString
public MockServerEventLog(MockServerLogger mockServerLogger, Scheduler scheduler, boolean asynchronousEventProcessing)
public void add(LogEntry logEntry)
public void stop()
public void reset()
public void clear(HttpRequest httpRequest)
public void retrieveMessageLogEntries(HttpRequest httpRequest, Consumer<List<LogEntry>> listConsumer)
public void retrieveRequestLogEntries(HttpRequest httpRequest, Consumer<List<LogEntry>> listConsumer)
public void retrieveRequests(HttpRequest httpRequest, Consumer<List<HttpRequest>> listConsumer)
public void retrieveRequestResponseMessageLogEntries(HttpRequest httpRequest, Consumer<List<LogEntry>> listConsumer)
public void retrieveRequestResponses(HttpRequest httpRequest, Consumer<List<LogEventRequestAndResponse>> listConsumer)
public void retrieveRecordedExpectationLogEntries(HttpRequest httpRequest, Consumer<List<LogEntry>> listConsumer)
public void retrieveRecordedExpectations(HttpRequest httpRequest, Consumer<List<Expectation>> listConsumer)
public <T> void retrieveLogEntriesInReverse(HttpRequest httpRequest, Predicate<LogEntry> logEntryPredicate, Function<LogEntry,T> logEntryMapper, Consumer<Stream<T>> consumer)
public Future<String> verify(Verification verification)
public void verify(Verification verification, Consumer<String> resultConsumer)
public Future<String> verify(VerificationSequence verification)
public void verify(VerificationSequence verificationSequence, Consumer<String> resultConsumer)
protected String[] fieldsExcludedFromEqualsAndHashCode()
fieldsExcludedFromEqualsAndHashCode
in class ObjectWithReflectiveEqualsHashCodeToString
Copyright © 2020. All rights reserved.