Uses of Class
com.shri.restinpeace.mock.RecordedRequest
Packages that use RecordedRequest
-
Uses of RecordedRequest in com.shri.restinpeace.mock
Methods in com.shri.restinpeace.mock that return RecordedRequestModifier and TypeMethodDescriptionMockRestServer.takeRequest()Removes and returns the oldest recorded request, for asserting against one call at a time in the order calls were made.Methods in com.shri.restinpeace.mock that return types with arguments of type RecordedRequestModifier and TypeMethodDescriptionMockRestServer.getRecordedRequests()Returns every request recorded so far, oldest first, without consuming them - unlikeMockRestServer.takeRequest().Method parameters in com.shri.restinpeace.mock with type arguments of type RecordedRequestModifier and TypeMethodDescriptionMockRestServer.on(HTTPMethod httpMethod, String pathTemplate, Predicate<RecordedRequest> matcher, MockResponse response) Same asMockRestServer.on(HTTPMethod, String, MockResponse), but only matches a request for whichmatcheralso returnstrue- for matching on a request header or the request body, neither of which therequiredQueryParamsoverload covers, e.g.