Uses of Class
org.mockserver.mock.Expectation
- 
- 
Uses of Expectation in org.mockserver.clientMethods in org.mockserver.client that return Expectation Modifier and Type Method Description Expectation[]MockServerClient. retrieveActiveExpectations(HttpRequest httpRequest)Retrieve the active expectations match the httpRequest parameter, use null for the parameter to retrieve all expectationsExpectation[]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 requestsMethods in org.mockserver.client with parameters of type Expectation Modifier and Type Method Description voidMockServerClient. 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:
- 
Uses of Expectation in org.mockserver.filtersMethods in org.mockserver.filters that return types with arguments of type Expectation Modifier and Type Method Description List<Expectation>MockServerEventLog. retrieveExpectations(HttpRequest httpRequest)
- 
Uses of Expectation in org.mockserver.log.modelMethods in org.mockserver.log.model that return Expectation Modifier and Type Method Description ExpectationExpectationLogEntry. getExpectation()ExpectationExpectationMatchLogEntry. getExpectation()ExpectationRequestResponseLogEntry. getExpectation()Constructors in org.mockserver.log.model with parameters of type Expectation Constructor Description ExpectationMatchLogEntry(HttpRequest httpRequest, Expectation expectation)
- 
Uses of Expectation in org.mockserver.matchersMethods in org.mockserver.matchers that return Expectation Modifier and Type Method Description ExpectationHttpRequestMatcher. decrementRemainingMatches()ExpectationHttpRequestMatcher. getExpectation()Methods in org.mockserver.matchers with parameters of type Expectation Modifier and Type Method Description HttpRequestMatcherMatcherBuilder. transformsToMatcher(Expectation expectation)Constructors in org.mockserver.matchers with parameters of type Expectation Constructor Description HttpRequestMatcher(Expectation expectation, MockServerLogger mockServerLogger)
- 
Uses of Expectation in org.mockserver.mockMethods in org.mockserver.mock that return types with arguments of type Expectation Modifier and Type Method Description List<Expectation>MockServerMatcher. retrieveExpectations(HttpRequest httpRequest)Methods in org.mockserver.mock with parameters of type Expectation Modifier and Type Method Description voidHttpStateHandler. add(Expectation... expectations)voidMockServerMatcher. add(Expectation expectation)
- 
Uses of Expectation in org.mockserver.serializationMethods in org.mockserver.serialization that return Expectation Modifier and Type Method Description ExpectationExpectationSerializer. deserialize(String jsonExpectation)Expectation[]ExpectationSerializer. deserializeArray(String jsonExpectations)Methods in org.mockserver.serialization that return types with arguments of type Expectation Modifier and Type Method Description Class<Expectation>ExpectationSerializer. supportsType()Methods in org.mockserver.serialization with parameters of type Expectation Modifier and Type Method Description StringExpectationSerializer. serialize(Expectation expectation)StringExpectationSerializer. serialize(Expectation... expectations)Method parameters in org.mockserver.serialization with type arguments of type Expectation Modifier and Type Method Description StringExpectationSerializer. serialize(List<Expectation> expectations)
- 
Uses of Expectation in org.mockserver.serialization.javaMethods in org.mockserver.serialization.java with parameters of type Expectation Modifier and Type Method Description StringExpectationToJavaSerializer. serialize(int numberOfSpacesToIndent, Expectation expectation)Method parameters in org.mockserver.serialization.java with type arguments of type Expectation Modifier and Type Method Description StringExpectationToJavaSerializer. serialize(List<Expectation> expectations)
- 
Uses of Expectation in org.mockserver.serialization.modelMethods in org.mockserver.serialization.model that return Expectation Modifier and Type Method Description ExpectationExpectationDTO. buildObject()Constructors in org.mockserver.serialization.model with parameters of type Expectation Constructor Description ExpectationDTO(Expectation expectation)
- 
Uses of Expectation in org.mockserver.server.initializeMethods in org.mockserver.server.initialize that return Expectation Modifier and Type Method Description Expectation[]ExpectationInitializer. initializeExpectations()static Expectation[]ExpectationInitializerLoader. loadExpectations()
 
-