| Package | Description |
|---|---|
| org.mockserver.client | |
| org.mockserver.mock | |
| org.mockserver.model | |
| org.mockserver.serialization | |
| org.mockserver.serialization.model | |
| org.mockserver.verify |
| Modifier and Type | Method and Description |
|---|---|
MockServerClient |
MockServerClient.clear(ExpectationId expectationId)
Clear all expectations and logs that match the http
|
MockServerClient |
MockServerClient.clear(ExpectationId expectationId,
ClearType type)
Clear expectations, logs or both that match the http
|
MockServerClient |
MockServerClient.verify(ExpectationId... expectationIds)
Verify a list of requests have been sent in the order specified for example:
|
MockServerClient |
MockServerClient.verify(ExpectationId expectationId,
VerificationTimes times)
Verify a request has been sent for example:
|
| Modifier and Type | Method and Description |
|---|---|
Stream<Expectation> |
RequestMatchers.retrieveExpectations(ExpectationId... expectationIds) |
| Modifier and Type | Method and Description |
|---|---|
ExpectationId |
ExpectationId.withId(String id) |
| Modifier and Type | Method and Description |
|---|---|
ExpectationId |
ExpectationIdSerializer.deserialize(String jsonExpectationId) |
ExpectationId[] |
ExpectationIdSerializer.deserializeArray(String jsonExpectationIds) |
| Modifier and Type | Method and Description |
|---|---|
Class<ExpectationId> |
ExpectationIdSerializer.supportsType() |
| Modifier and Type | Method and Description |
|---|---|
String |
ExpectationIdSerializer.serialize(boolean prettyPrint,
ExpectationId... expectationIds) |
String |
ExpectationIdSerializer.serialize(ExpectationId... expectationIds) |
String |
ExpectationIdSerializer.serialize(ExpectationId expectationId) |
| Modifier and Type | Method and Description |
|---|---|
String |
ExpectationIdSerializer.serialize(boolean prettyPrint,
List<? extends ExpectationId> expectationIds) |
String |
ExpectationIdSerializer.serialize(List<? extends ExpectationId> expectationIds) |
| Modifier and Type | Method and Description |
|---|---|
List<ExpectationId> |
VerificationSequenceDTO.getExpectationIds() |
| Modifier and Type | Method and Description |
|---|---|
VerificationSequenceDTO |
VerificationSequenceDTO.setExpectationIds(List<ExpectationId> expectationIds) |
| Modifier and Type | Method and Description |
|---|---|
ExpectationId |
Verification.getExpectationId() |
| Modifier and Type | Method and Description |
|---|---|
List<ExpectationId> |
VerificationSequence.getExpectationIds() |
| Modifier and Type | Method and Description |
|---|---|
Verification |
Verification.withExpectationId(ExpectationId expectationId) |
VerificationSequence |
VerificationSequence.withExpectationIds(ExpectationId... expectationIds) |
| Modifier and Type | Method and Description |
|---|---|
VerificationSequence |
VerificationSequence.withExpectationIds(List<ExpectationId> expectationIds) |
Copyright © 2020. All rights reserved.