Uses of Enum Class
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 class with the specified name.static TestRestTemplate.HttpClientOption[]
TestRestTemplate.HttpClientOption.values()
Returns an array containing the constants of this enum class, in the order they are declared.ModifierConstructorDescriptionCustomHttpComponentsClientHttpRequestFactory
(TestRestTemplate.HttpClientOption[] httpClientOptions, ClientHttpRequestFactorySettings settings) Create a newTestRestTemplate.CustomHttpComponentsClientHttpRequestFactory
instance.CustomHttpComponentsClientHttpRequestFactory
(TestRestTemplate.HttpClientOption[] httpClientOptions, ClientHttpRequestFactorySettings settings) Deprecated, for removal: This API element is subject to removal in a future version.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.
CustomHttpComponentsClientHttpRequestFactory(HttpClientOption[], ClientHttpRequestFactorySettings)