| Package | Description |
|---|---|
| org.springframework.test.web.client |
Contains client-side REST testing support.
|
| org.springframework.web.client.support |
Classes supporting the
org.springframework.web.client package. |
| Modifier and Type | Method and Description |
|---|---|
static MockRestServiceServer |
MockRestServiceServer.createServer(RestTemplate restTemplate)
Create a
MockRestServiceServer and set up the given
RestTemplate with a mock ClientHttpRequestFactory. |
| Modifier and Type | Method and Description |
|---|---|
RestTemplate |
RestGatewaySupport.getRestTemplate()
Returns the
RestTemplate for the gateway. |
| Modifier and Type | Method and Description |
|---|---|
void |
RestGatewaySupport.setRestTemplate(RestTemplate restTemplate)
Sets the
RestTemplate for the gateway. |
Copyright © 2021. All rights reserved.