@Configuration @ConditionalOnClass(value=com.gargoylesoftware.htmlunit.WebClient.class) @ConditionalOnProperty(prefix="spring.test.mockmvc.webclient", name="enabled", matchIfMissing=true) public class MockMvcWebClientAutoConfiguration extends Object
WebClient
MockMVC integration.Modifier and Type | Method and Description |
---|---|
com.gargoylesoftware.htmlunit.WebClient |
htmlUnitWebClient(org.springframework.test.web.servlet.htmlunit.MockMvcWebClientBuilder builder) |
org.springframework.test.web.servlet.htmlunit.MockMvcWebClientBuilder |
mockMvcWebClientBuilder(org.springframework.test.web.servlet.MockMvc mockMvc) |
@Bean @ConditionalOnMissingBean(value={com.gargoylesoftware.htmlunit.WebClient.class,org.springframework.test.web.servlet.htmlunit.MockMvcWebClientBuilder.class}) @ConditionalOnBean(value=org.springframework.test.web.servlet.MockMvc.class) public org.springframework.test.web.servlet.htmlunit.MockMvcWebClientBuilder mockMvcWebClientBuilder(org.springframework.test.web.servlet.MockMvc mockMvc)
@Bean @ConditionalOnMissingBean @ConditionalOnBean(value=org.springframework.test.web.servlet.htmlunit.MockMvcWebClientBuilder.class) public com.gargoylesoftware.htmlunit.WebClient htmlUnitWebClient(org.springframework.test.web.servlet.htmlunit.MockMvcWebClientBuilder builder)
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.