@AutoConfiguration(after=MockMvcAutoConfiguration.class) @ConditionalOnClass(value=com.gargoylesoftware.htmlunit.WebClient.class) @ConditionalOnProperty(prefix="spring.test.mockmvc.webclient", name="enabled", matchIfMissing=true) public class MockMvcWebClientAutoConfiguration extends ObjectSE
WebClient
MockMVC 統合の自動構成。コンストラクターと説明 |
---|
MockMvcWebClientAutoConfiguration() |
修飾子と型 | メソッドと説明 |
---|---|
com.gargoylesoftware.htmlunit.WebClient | htmlUnitWebClient(MockMvcWebClientBuilder builder) |
MockMvcWebClientBuilder | mockMvcWebClientBuilder(MockMvc mockMvc, Environment environment) |
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSE
@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 MockMvcWebClientBuilder mockMvcWebClientBuilder(MockMvc mockMvc, Environment environment)
@Bean @ConditionalOnMissingBean @ConditionalOnBean(value=org.springframework.test.web.servlet.htmlunit.MockMvcWebClientBuilder.class) public com.gargoylesoftware.htmlunit.WebClient htmlUnitWebClient(MockMvcWebClientBuilder builder)