程序包 org.springframework.boot.test.autoconfigure.web.client
Auto-configuration for web clients.
类概要 类 说明 MockRestServiceServerAutoConfiguration Auto-configuration forMockRestServiceServer
support.WebClientRestTemplateAutoConfiguration Auto-configuration for a web-clientRestTemplate
.注释类型概要 注释类型 说明 AutoConfigureMockRestServiceServer Annotation that can be applied to a test class to enable and configure auto-configuration of a singleMockRestServiceServer
.AutoConfigureWebClient Annotation that can be applied to a test class to enable and configure auto-configuration of web clients.RestClientTest Annotation that can be used in combination with@RunWith(SpringRunner.class)
for a typical Spring rest client test.