JavaScript is disabled on your browser.
Contains client-side REST testing support.
class
Default implementation of RequestExpectation
that simply delegates
to the request matchers and the response creator it contains.
AbstractRequestExpectationManager.RequestExpectationGroup. findExpectation (org.springframework.http.client.ClientHttpRequest request)
Return a matching expectation, or null
if none match.
AbstractRequestExpectationManager. matchRequest (org.springframework.http.client.ClientHttpRequest request)
As of 5.0.3 subclasses should implement this method instead of
#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).
SimpleRequestExpectationManager. matchRequest (org.springframework.http.client.ClientHttpRequest request)
UnorderedRequestExpectationManager. matchRequest (org.springframework.http.client.ClientHttpRequest request)
Return a read-only list of the expectations.
AbstractRequestExpectationManager.RequestExpectationGroup. getExpectations ()
void
Invoke this for an expectation that has been matched.