@Configuration @ConditionalOnProperty(prefix="spring.test.webclient.mockrestserviceserver", name="enabled") public class MockRestServiceServerAutoConfiguration extends Object
MockRestServiceServer
support.AutoConfigureMockRestServiceServer
Constructor and Description |
---|
MockRestServiceServerAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
org.springframework.test.web.client.MockRestServiceServer |
mockRestServiceServer(MockServerRestTemplateCustomizer customizer) |
MockServerRestTemplateCustomizer |
mockServerRestTemplateCustomizer() |
public MockRestServiceServerAutoConfiguration()
@Bean public MockServerRestTemplateCustomizer mockServerRestTemplateCustomizer()
@Bean public org.springframework.test.web.client.MockRestServiceServer mockRestServiceServer(MockServerRestTemplateCustomizer customizer)
Copyright © 2020 Pivotal Software, Inc.. All rights reserved.