Package org.springframework.boot.test.web.client
package org.springframework.boot.test.web.client
Web client test utilities.
-
ClassDescription
UriTemplateHandler
will automatically prefix relative URIs withlocalhost:${local.server.port}
.RestClientCustomizer
that can be applied toRestClient.Builder
instances to addMockRestServiceServer
support.RestTemplateCustomizer
that can be applied to aRestTemplateBuilder
instances to addMockRestServiceServer
support.RequestExpectationManager
that strips the specified root URI from the request before verification.Convenient alternative ofRestTemplate
that is suitable for integration tests.HttpComponentsClientHttpRequestFactory
to apply customizations.Options used to customize the Apache HTTP Client.