Package org.mockserver.filters
Class MockServerEventLog
- java.lang.Object
-
- org.mockserver.model.ObjectWithReflectiveEqualsHashCodeToString
-
- org.mockserver.ui.MockServerEventLogNotifier
-
- org.mockserver.filters.MockServerEventLog
-
public class MockServerEventLog extends MockServerEventLogNotifier
- Author:
- jamesdbloom
-
-
Constructor Summary
Constructors Constructor Description MockServerEventLog(MockServerLogger logFormatter, Scheduler scheduler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(LogEntry logEntry)
void
clear(HttpRequest httpRequest)
void
reset()
List<Expectation>
retrieveExpectations(HttpRequest httpRequest)
List<MessageLogEntry>
retrieveMessageLogEntries(HttpRequest httpRequest)
List<LogEntry>
retrieveRequestLogEntries(HttpRequest httpRequest)
List<MessageLogEntry>
retrieveRequestResponseMessageLogEntries(HttpRequest httpRequest)
List<HttpRequest>
retrieveRequests(HttpRequest httpRequest)
String
verify(Verification verification)
String
verify(VerificationSequence verificationSequence)
-
Methods inherited from class org.mockserver.ui.MockServerEventLogNotifier
notifyListeners, registerListener, unregisterListener
-
Methods inherited from class org.mockserver.model.ObjectWithReflectiveEqualsHashCodeToString
equals, fieldsExcludedFromEqualsAndHashCode, hashCode, key, toString
-
-
-
-
Constructor Detail
-
MockServerEventLog
public MockServerEventLog(MockServerLogger logFormatter, Scheduler scheduler)
-
-
Method Detail
-
add
public void add(LogEntry logEntry)
-
reset
public void reset()
-
clear
public void clear(HttpRequest httpRequest)
-
retrieveRequestLogEntries
public List<LogEntry> retrieveRequestLogEntries(HttpRequest httpRequest)
-
retrieveRequestResponseMessageLogEntries
public List<MessageLogEntry> retrieveRequestResponseMessageLogEntries(HttpRequest httpRequest)
-
retrieveMessageLogEntries
public List<MessageLogEntry> retrieveMessageLogEntries(HttpRequest httpRequest)
-
retrieveRequests
public List<HttpRequest> retrieveRequests(HttpRequest httpRequest)
-
retrieveExpectations
public List<Expectation> retrieveExpectations(HttpRequest httpRequest)
-
verify
public String verify(Verification verification)
-
verify
public String verify(VerificationSequence verificationSequence)
-
-