Uses of Class
org.springframework.web.client.RestTemplate
Packages that use 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
Methods in org.springframework.test.web.client with parameters of type RestTemplateModifier and TypeMethodDescriptionMockRestServiceServer.bindTo(RestTemplate restTemplate) Deprecated, for removal: This API element is subject to removal in a future version.static MockRestServiceServerMockRestServiceServer.createServer(RestTemplate restTemplate) Deprecated, for removal: This API element is subject to removal in a future version.as of 7.1 in favor ofMockRestServiceServer.bindTo(RestClient.Builder). -
Uses of RestTemplate in org.springframework.web.client
Methods in org.springframework.web.client with parameters of type RestTemplateModifier and TypeMethodDescriptionstatic RestClient.BuilderRestClient.builder(RestTemplate restTemplate) Obtain aRestClientbuilder based on the configuration of the givenRestTemplate.static RestClientRestClient.create(RestTemplate restTemplate) Create a newRestClientbased on the configuration of the givenRestTemplate. -
Uses of RestTemplate in org.springframework.web.client.support
Methods in org.springframework.web.client.support that return RestTemplateModifier and TypeMethodDescriptionRestGatewaySupport.getRestTemplate()Deprecated, for removal: This API element is subject to removal in a future version.Returns theRestTemplatefor the gateway.Methods in org.springframework.web.client.support with parameters of type RestTemplateModifier and TypeMethodDescriptionstatic RestTemplateAdapterRestTemplateAdapter.create(RestTemplate restTemplate) Deprecated, for removal: This API element is subject to removal in a future version.Create aRestTemplateAdapterfor the givenRestTemplate.voidRestGatewaySupport.setRestTemplate(RestTemplate restTemplate) Deprecated, for removal: This API element is subject to removal in a future version.Sets theRestTemplatefor the gateway.
MockRestServiceServer.bindTo(RestClient.Builder).