Uses of Class
org.springframework.test.web.client.MockRestServiceServer
-
Uses of MockRestServiceServer in org.springframework.test.web.client
Modifier and TypeMethodDescriptionMockRestServiceServer.MockRestServiceServerBuilder.build()
Build theMockRestServiceServer
and set up the underlyingRestTemplate
with aClientHttpRequestFactory
that creates mock requests.MockRestServiceServer.MockRestServiceServerBuilder.build
(RequestExpectationManager manager) An overloaded build alternative that accepts a customRequestExpectationManager
.static MockRestServiceServer
MockRestServiceServer.createServer
(RestTemplate restTemplate) A shortcut forbindTo(restTemplate).build()
.static MockRestServiceServer
MockRestServiceServer.createServer
(RestGatewaySupport restGateway) A shortcut forbindTo(restGateway).build()
.