Uses of Interface
org.springframework.test.web.client.RequestExpectation
Packages that use RequestExpectation Package Description org.springframework.test.web.client Contains client-side REST testing support.Uses of RequestExpectation in org.springframework.test.web.client
Classes in org.springframework.test.web.client that implement RequestExpectation Modifier and Type Class Description classDefaultRequestExpectationDefault implementation ofRequestExpectationthat simply delegates to the request matchers and the response creator it contains.Methods in org.springframework.test.web.client that return RequestExpectation Modifier and Type Method Description RequestExpectationAbstractRequestExpectationManager.RequestExpectationGroup. findExpectation(ClientHttpRequest request)Return a matching expectation, ornullif none match.protected RequestExpectationAbstractRequestExpectationManager. matchRequest(ClientHttpRequest request)As of 5.0.3 subclasses should implement this method instead ofAbstractRequestExpectationManager.validateRequestInternal(ClientHttpRequest)in order to match the request to an expectation, leaving the call to create the response as a separate step (to be invoked by this class).protected RequestExpectationSimpleRequestExpectationManager. matchRequest(ClientHttpRequest request)RequestExpectationUnorderedRequestExpectationManager. matchRequest(ClientHttpRequest request)Methods in org.springframework.test.web.client that return types with arguments of type RequestExpectation Modifier and Type Method Description protected List<RequestExpectation>AbstractRequestExpectationManager. getExpectations()Return a read-only list of the expectations.Set<RequestExpectation>AbstractRequestExpectationManager.RequestExpectationGroup. getExpectations()Methods in org.springframework.test.web.client with parameters of type RequestExpectation Modifier and Type Method Description voidAbstractRequestExpectationManager.RequestExpectationGroup. update(RequestExpectation expectation)Invoke this for an expectation that has been matched.Method parameters in org.springframework.test.web.client with type arguments of type RequestExpectation Modifier and Type Method Description voidAbstractRequestExpectationManager.RequestExpectationGroup. addAllExpectations(Collection<RequestExpectation> expectations)voidAbstractRequestExpectationManager.RequestExpectationGroup. updateAll(Collection<RequestExpectation> expectations)