Uses of Class
org.springframework.web.client.RestTemplate
Package
Description
Contains client-side REST testing support.
Core package of the client-side web support.
Classes supporting the
org.springframework.web.client
package.-
Uses of RestTemplate in org.springframework.test.web.client
Modifier and TypeMethodDescriptionMockRestServiceServer.bindTo
(RestTemplate restTemplate) Return a builder for aMockRestServiceServer
that should be used to reply to the givenRestTemplate
.static MockRestServiceServer
MockRestServiceServer.createServer
(RestTemplate restTemplate) A shortcut forbindTo(restTemplate).build()
. -
Uses of RestTemplate in org.springframework.web.client
Modifier and TypeMethodDescriptionstatic RestClient.Builder
RestClient.builder
(RestTemplate restTemplate) Obtain aRestClient
builder based on the configuration of the givenRestTemplate
.static RestClient
RestClient.create
(RestTemplate restTemplate) Create a newRestClient
based on the configuration of the givenRestTemplate
. -
Uses of RestTemplate in org.springframework.web.client.support
Modifier and TypeMethodDescriptionRestGatewaySupport.getRestTemplate()
Returns theRestTemplate
for the gateway.Modifier and TypeMethodDescriptionstatic RestTemplateAdapter
RestTemplateAdapter.create
(RestTemplate restTemplate) Create aRestTemplateAdapter
for the givenRestTemplate
.void
RestGatewaySupport.setRestTemplate
(RestTemplate restTemplate) Sets theRestTemplate
for the gateway.