Package | Description |
---|---|
org.springframework.test.web.client |
Contains client-side REST testing support.
|
org.springframework.test.web.client.match |
Contains built-in
RequestMatcher
implementations. |
org.springframework.test.web.client.response |
Contains built-in
ResponseCreator
implementations. |
Class and Description |
---|
AbstractRequestExpectationManager
Base class for
RequestExpectationManager implementations responsible
for storing expectations and actual requests, and checking for unsatisfied
expectations at the end. |
DefaultRequestExpectation.RequestCount
Helper class that keeps track of actual vs expected request count.
|
ExpectedCount
A simple type representing a range for an expected count.
|
MockRestServiceServer
Main entry point for client-side REST testing.
|
MockRestServiceServer.MockRestServiceServerBuilder
Builder to create a
MockRestServiceServer . |
RequestExpectation
An extension of
ResponseActions that also implements
RequestMatcher and ResponseCreator |
RequestExpectationManager
Encapsulates the behavior required to implement
MockRestServiceServer
including its public API (create expectations + verify/reset) along with an
extra method for verifying actual requests. |
RequestMatcher
A contract for matching requests to expectations.
|
ResponseActions
A contract for setting up request expectations and defining a response.
|
ResponseCreator
A contract for creating a
ClientHttpResponse . |
Class and Description |
---|
RequestMatcher
A contract for matching requests to expectations.
|
Class and Description |
---|
ResponseCreator
A contract for creating a
ClientHttpResponse . |