Modifier and Type | Method and Description |
---|---|
Expectation[] |
MockServerClient.retrieveActiveExpectations(HttpRequest httpRequest)
Retrieve the active expectations match the httpRequest parameter, use null for the parameter to retrieve all expectations
|
Expectation[] |
MockServerClient.retrieveRecordedExpectations(HttpRequest httpRequest)
Retrieve the request-response combinations that have been recorded as a list of expectations, only those that match the httpRequest parameter are returned, use null to retrieve all requests
|
Modifier and Type | Method and Description |
---|---|
void |
MockServerClient.sendExpectation(Expectation... expectations)
Specify one or more expectations, normally this method should not be used directly instead the when(...) and response(...) or forward(...) or error(...) methods should be used
for example:
|
Modifier and Type | Method and Description |
---|---|
Expectation |
DashboardLogEntryDTO.getExpectation() |
Modifier and Type | Method and Description |
---|---|
DashboardLogEntryDTO |
DashboardLogEntryDTO.setExpectation(Expectation expectation) |
Modifier and Type | Method and Description |
---|---|
void |
MockServerEventLog.retrieveRecordedExpectations(HttpRequest httpRequest,
Consumer<List<Expectation>> listConsumer) |
Modifier and Type | Method and Description |
---|---|
Expectation |
LogEntry.getExpectation() |
Expectation |
ExpectationLogEntry.getExpectation() |
Modifier and Type | Method and Description |
---|---|
LogEntry |
LogEntry.setExpectation(Expectation expectation) |
Modifier and Type | Method and Description |
---|---|
Expectation |
HttpRequestMatcher.getExpectation() |
Modifier and Type | Method and Description |
---|---|
HttpRequestMatcher |
MatcherBuilder.transformsToMatcher(Expectation expectation) |
boolean |
HttpRequestMatcher.update(Expectation expectation) |
Modifier and Type | Method and Description |
---|---|
List<Expectation> |
MockServerMatcher.retrieveActiveExpectations(HttpRequest httpRequest) |
Modifier and Type | Method and Description |
---|---|
void |
HttpStateHandler.add(Expectation... expectations) |
void |
MockServerMatcher.add(Expectation expectation) |
void |
MockServerMatcher.add(Expectation expectation,
MockServerMatcherNotifier.Cause cause) |
void |
HttpStateHandler.postProcess(Expectation expectation) |
void |
MockServerMatcher.update(Expectation[] expectations,
MockServerMatcherNotifier.Cause cause) |
Modifier and Type | Method and Description |
---|---|
String |
ExpectationFileSystemPersistence.serialize(Expectation... expectations) |
Modifier and Type | Method and Description |
---|---|
String |
ExpectationFileSystemPersistence.serialize(List<Expectation> expectations) |
Modifier and Type | Method and Description |
---|---|
Expectation |
ExpectationSerializer.deserialize(String jsonExpectation) |
Expectation[] |
ExpectationSerializer.deserializeArray(String jsonExpectations,
boolean allowEmpty) |
Modifier and Type | Method and Description |
---|---|
Class<Expectation> |
ExpectationSerializer.supportsType() |
Modifier and Type | Method and Description |
---|---|
String |
ExpectationSerializer.serialize(Expectation... expectations) |
String |
ExpectationSerializer.serialize(Expectation expectation) |
Modifier and Type | Method and Description |
---|---|
String |
ExpectationSerializer.serialize(List<Expectation> expectations) |
Modifier and Type | Method and Description |
---|---|
String |
ExpectationToJavaSerializer.serialize(int numberOfSpacesToIndent,
Expectation expectation) |
Modifier and Type | Method and Description |
---|---|
String |
ExpectationToJavaSerializer.serialize(List<Expectation> expectations) |
Modifier and Type | Method and Description |
---|---|
Expectation |
ExpectationDTO.buildObject() |
Constructor and Description |
---|
ExpectationDTO(Expectation expectation) |
Modifier and Type | Method and Description |
---|---|
Expectation[] |
ExpectationInitializer.initializeExpectations() |
Expectation[] |
ExpectationInitializerLoader.loadExpectations() |
Copyright © 2020. All rights reserved.