Uses of Class
org.springframework.boot.resttestclient.TestRestTemplate
Packages that use TestRestTemplate
-
Uses of TestRestTemplate in org.springframework.boot.resttestclient
Methods in org.springframework.boot.resttestclient that return TestRestTemplateModifier and TypeMethodDescriptionTestRestTemplate.withBasicAuth(@Nullable String username, @Nullable String password) Creates a newTestRestTemplatewith the same configuration as this one, except that it will send basic authorization headers using the givenusernameandpassword.TestRestTemplate.withClientSettings(UnaryOperator<HttpClientSettings> clientSettingsCustomizer) Creates a newTestRestTemplatewith the same configuration as this one, except that it will customize theHttpClientSettings.TestRestTemplate.withClientSettings(HttpClientSettings clientSettings) Creates a newTestRestTemplatewith the same configuration as this one, except that it will apply the givenHttpClientSettings.TestRestTemplate.withRedirects(HttpRedirects redirects) Creates a newTestRestTemplatewith the same configuration as this one, except that it will apply the givenHttpRedirects.