Uses of Enum
org.springframework.boot.test.web.client.TestRestTemplate.HttpClientOption
-
Uses of TestRestTemplate.HttpClientOption in org.springframework.boot.test.web.client
Modifier and TypeMethodDescriptionReturns the enum constant of this type with the specified name.static TestRestTemplate.HttpClientOption[]
TestRestTemplate.HttpClientOption.values()
Returns an array containing the constants of this enum type, in the order they are declared.ModifierConstructorDescriptionCustomHttpComponentsClientHttpRequestFactory
(TestRestTemplate.HttpClientOption[] httpClientOptions) TestRestTemplate
(String username, String password, TestRestTemplate.HttpClientOption... httpClientOptions) Create a newTestRestTemplate
instance with the specified credentials.TestRestTemplate
(TestRestTemplate.HttpClientOption... httpClientOptions) Create a newTestRestTemplate
instance.TestRestTemplate
(RestTemplateBuilder builder, String username, String password, TestRestTemplate.HttpClientOption... httpClientOptions) Create a newTestRestTemplate
instance with the specified credentials.