Uses of Class
org.springframework.web.client.RestTemplate
Packages that use RestTemplate
Package
Description
Contains client-side REST testing 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) Return a builder for aMockRestServiceServerthat should be used to reply to the givenRestTemplate.static MockRestServiceServerMockRestServiceServer.createServer(RestTemplate restTemplate) A shortcut forbindTo(restTemplate).build(). -
Uses of RestTemplate in org.springframework.web.client.support
Methods in org.springframework.web.client.support that return RestTemplateModifier and TypeMethodDescriptionRestGatewaySupport.getRestTemplate()Returns theRestTemplatefor the gateway.Methods in org.springframework.web.client.support with parameters of type RestTemplateModifier and TypeMethodDescriptionvoidRestGatewaySupport.setRestTemplate(RestTemplate restTemplate) Sets theRestTemplatefor the gateway.