Package org.springframework.boot.test.web.client
package org.springframework.boot.test.web.client
Web client test utilities.
-
ClassDescription
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.Convenient alternative ofRestTemplatethat is suitable for integration tests.HttpComponentsClientHttpRequestFactoryto apply customizations.Options used to customize the Apache HTTP Client.