Class MockRestServiceServerAutoConfiguration
java.lang.Object
org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerAutoConfiguration
@Configuration(proxyBeanMethods=false)
@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
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription
-
Constructor Details
-
MockRestServiceServerAutoConfiguration
public MockRestServiceServerAutoConfiguration()
-
-
Method Details
-
mockServerRestTemplateCustomizer
-
mockRestServiceServer
@Bean public MockRestServiceServer mockRestServiceServer(MockServerRestTemplateCustomizer customizer)
-