Class MockRestServiceServerAutoConfiguration
java.lang.Object
org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerAutoConfiguration
@AutoConfiguration
@ConditionalOnProperty(prefix="spring.test.webclient.mockrestserviceserver",
name="enabled")
public class MockRestServiceServerAutoConfiguration
extends Object
Auto-configuration for
MockRestServiceServer
support.- Since:
- 1.4.0
- Author:
- Phillip Webb, Scott Frederick
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionmockRestServiceServer
(MockServerRestTemplateCustomizer restTemplateCustomizer, MockServerRestClientCustomizer restClientCustomizer)
-
Constructor Details
-
MockRestServiceServerAutoConfiguration
public MockRestServiceServerAutoConfiguration()
-
-
Method Details
-
mockServerRestTemplateCustomizer
-
mockServerRestClientCustomizer
-
mockRestServiceServer
@Bean public MockRestServiceServer mockRestServiceServer(MockServerRestTemplateCustomizer restTemplateCustomizer, MockServerRestClientCustomizer restClientCustomizer)
-