程序包 cn.taketoday.framework.test.web.client
package cn.taketoday.framework.test.web.client
Web client test utilities.
-
类说明
UriTemplateHandlerwill automatically prefix relative URIs withlocalhost:${local.server.port}.RestTemplateCustomizerthat can be applied to aRestTemplateBuilderinstances to addMockRestServiceServersupport.RequestExpectationManagerthat strips the specified root URI from the request before verification.ClientHttpRequestwrapper to replace the request URI.Convenient alternative ofRestTemplatethat is suitable for integration tests.HttpComponentsClientHttpRequestFactoryto apply customizations.Options used to customize the Apache HTTP Client.FactoryBeanused to create and configure aTestRestTemplate.BeanDefinitionRegistryPostProcessorthat runs after theConfigurationClassPostProcessorand add aTestRestTemplateContextCustomizer.TestRestTemplateFactorybean definition when aTestRestTemplatehasn't already been registered.