| Package | Description |
|---|---|
| org.springframework.test.web.client |
Contains client-side REST testing support.
|
| org.springframework.web.client |
Core package of the client-side web support.
|
| org.springframework.web.client.support |
Classes supporting the
org.springframework.web.client package. |
| Modifier and Type | Method and Description |
|---|---|
static MockRestServiceServer.MockRestServiceServerBuilder |
MockRestServiceServer.bindTo(RestTemplate restTemplate)
Return a builder for a
MockRestServiceServer that should be used
to reply to the given RestTemplate. |
static MockRestServiceServer |
MockRestServiceServer.createServer(RestTemplate restTemplate)
A shortcut for
bindTo(restTemplate).build(). |
| Constructor and Description |
|---|
AsyncRestTemplate(AsyncClientHttpRequestFactory requestFactory,
RestTemplate restTemplate)
Deprecated.
Create a new instance of the
AsyncRestTemplate using the given
AsyncClientHttpRequestFactory and synchronous RestTemplate. |
| 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. |