@Configuration(proxyBeanMethods=false) @ConditionalOnClass(value=com.gargoylesoftware.htmlunit.WebClient.class) @AutoConfigureAfter(value=MockMvcAutoConfiguration.class) @ConditionalOnProperty(prefix="spring.test.mockmvc.webclient", name="enabled", matchIfMissing=true) public class MockMvcWebClientAutoConfiguration extends Object
WebClient
MockMVC integration.Constructor and Description |
---|
MockMvcWebClientAutoConfiguration() |
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,
org.springframework.core.env.Environment environment) |
@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, org.springframework.core.env.Environment environment)
@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 © 2019 Pivotal Software, Inc.. All rights reserved.