Modifier and Type | Method and Description |
---|---|
Expectation[] |
AbstractClient.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 |
---|---|
Expectation |
ExpectationSerializer.deserialize(String jsonExpectation) |
Expectation[] |
ExpectationSerializer.deserializeArray(String jsonExpectations) |
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[] |
MockServerClient.retrieveActiveExpectations(HttpRequest httpRequest)
Retrieve the active expectations match the httpRequest parameter, use null for the parameter to retrieve all expectations
|
Constructor and Description |
---|
ForwardChainExpectation(MockServerClient mockServerClient,
Expectation expectation) |
Modifier and Type | Method and Description |
---|---|
List<Expectation> |
LogFilter.retrieveExpectations(HttpRequest httpRequest) |
Modifier and Type | Method and Description |
---|---|
static Expectation |
AbstractClientServerIntegrationTest.expectation(HttpRequest httpRequest) |
Modifier and Type | Method and Description |
---|---|
Expectation |
RequestResponseLogEntry.getExpectation() |
Expectation |
ExpectationMatchLogEntry.getExpectation() |
Expectation |
ExpectationLogEntry.getExpectation() |
Constructor and Description |
---|
ExpectationMatchLogEntry(HttpRequest httpRequest,
Expectation expectation) |
Modifier and Type | Method and Description |
---|---|
Expectation |
HttpRequestMatcher.decrementRemainingMatches() |
Expectation |
HttpRequestMatcher.getExpectation() |
Modifier and Type | Method and Description |
---|---|
HttpRequestMatcher |
MatcherBuilder.transformsToMatcher(Expectation expectation) |
Constructor and Description |
---|
HttpRequestMatcher(Expectation expectation,
LoggingFormatter logFormatter) |
Modifier and Type | Method and Description |
---|---|
Expectation |
Expectation.decrementRemainingMatches() |
Expectation |
MockServerMatcher.firstMatchingExpectation(HttpRequest httpRequest) |
Expectation |
HttpStateHandler.firstMatchingExpectation(HttpRequest request) |
Expectation |
Expectation.thenCallback(HttpClassCallback httpClassCallback) |
Expectation |
Expectation.thenCallback(HttpObjectCallback httpObjectCallback) |
Expectation |
Expectation.thenError(HttpError httpError) |
Expectation |
Expectation.thenForward(HttpForward httpForward) |
Expectation |
Expectation.thenForward(HttpTemplate httpTemplate) |
Expectation |
Expectation.thenRespond(HttpResponse httpResponse) |
Expectation |
Expectation.thenRespond(HttpTemplate httpTemplate) |
Modifier and Type | Method and Description |
---|---|
List<Expectation> |
MockServerMatcher.retrieveExpectations(HttpRequest httpRequest) |
Modifier and Type | Method and Description |
---|---|
void |
HttpStateHandler.add(Expectation... expectations) |
void |
MockServerMatcher.add(Expectation expectation) |
Copyright © 2018. All rights reserved.