@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 |
---|---|
MockRestServiceServer |
mockRestServiceServer(MockServerRestTemplateCustomizer customizer) |
MockServerRestTemplateCustomizer |
mockServerRestTemplateCustomizer() |
public MockRestServiceServerAutoConfiguration()
@Bean public MockServerRestTemplateCustomizer mockServerRestTemplateCustomizer()
@Bean public MockRestServiceServer mockRestServiceServer(MockServerRestTemplateCustomizer customizer)
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.