Uses of Class
org.springframework.test.web.client.MockRestServiceServer
Packages that use MockRestServiceServer Package Description org.springframework.test.web.client Contains client-side REST testing support.Uses of MockRestServiceServer in org.springframework.test.web.client
Methods in org.springframework.test.web.client that return MockRestServiceServer Modifier and Type Method Description MockRestServiceServerMockRestServiceServer.MockRestServiceServerBuilder. build()Build theMockRestServiceServerand set up the underlyingRestTemplateorAsyncRestTemplatewith aClientHttpRequestFactorythat creates mock requests.MockRestServiceServerMockRestServiceServer.MockRestServiceServerBuilder. build(RequestExpectationManager manager)An overloaded build alternative that accepts a customRequestExpectationManager.static MockRestServiceServerMockRestServiceServer. createServer(AsyncRestTemplate asyncRestTemplate)Deprecated.see deprecation notice onAsyncRestTemplateitselfstatic MockRestServiceServerMockRestServiceServer. createServer(RestTemplate restTemplate)A shortcut forbindTo(restTemplate).build().static MockRestServiceServerMockRestServiceServer. createServer(RestGatewaySupport restGateway)A shortcut forbindTo(restGateway).build().