Uses of Class
org.springframework.boot.test.web.client.TestRestTemplate
Packages that use TestRestTemplate
-
Uses of TestRestTemplate in org.springframework.boot.test.web.client
Methods in org.springframework.boot.test.web.client that return TestRestTemplateModifier and TypeMethodDescriptionTestRestTemplate.withBasicAuth(String username, String password) Creates a newTestRestTemplatewith the same configuration as this one, except that it will send basic authorization headers using the givenusernameandpassword.TestRestTemplate.withRedirects(ClientHttpRequestFactorySettings.Redirects redirects) Creates a newTestRestTemplatewith the same configuration as this one, except that it will apply the givenClientHttpRequestFactorySettings.Redirects.TestRestTemplate.withRequestFactorySettings(UnaryOperator<ClientHttpRequestFactorySettings> requestFactorySettingsCustomizer) Creates a newTestRestTemplatewith the same configuration as this one, except that it will customize theClientHttpRequestFactorySettings.TestRestTemplate.withRequestFactorySettings(ClientHttpRequestFactorySettings requestFactorySettings) Creates a newTestRestTemplatewith the same configuration as this one, except that it will apply the givenClientHttpRequestFactorySettings.