Package | Description |
---|---|
org.springframework.boot.test.web.client |
Web client test utilities.
|
Modifier and Type | Method and Description |
---|---|
TestRestTemplate |
TestRestTemplate.withBasicAuth(String username,
String password)
Creates a new
TestRestTemplate with the same configuration as this one,
except that it will send basic authorization headers using the given
username and password . |
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.