Package | Description |
---|---|
org.springframework.boot.test |
Classes and utilities that are useful when unit-testing Spring Boot applications.
|
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 |
---|
TestRestTemplate.CustomHttpComponentsClientHttpRequestFactory(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 © 2015 Pivotal Software, Inc.. All rights reserved.