Package | Description |
---|---|
org.springframework.boot.test.web.client |
Web client test utilities.
|
Modifier and Type | Method and Description |
---|---|
static TestRestTemplate.HttpClientOption |
TestRestTemplate.HttpClientOption.valueOf(String name)
Returns 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.
|
Constructor and Description |
---|
CustomHttpComponentsClientHttpRequestFactory(TestRestTemplate.HttpClientOption[] httpClientOptions) |
TestRestTemplate(org.springframework.web.client.RestTemplate restTemplate,
String username,
String password,
TestRestTemplate.HttpClientOption... httpClientOptions) |
TestRestTemplate(String username,
String password,
TestRestTemplate.HttpClientOption... httpClientOptions)
Create a new
TestRestTemplate instance with the specified credentials. |
TestRestTemplate(TestRestTemplate.HttpClientOption... httpClientOptions)
Create a new
TestRestTemplate instance. |
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.