Uses of Class
org.springframework.web.client.RestTemplate
Packages that use RestTemplate 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 theorg.springframework.web.client
package.Uses of RestTemplate in org.springframework.test.web.client
Methods in org.springframework.test.web.client with parameters of type RestTemplate Modifier and Type Method Description static MockRestServiceServer.MockRestServiceServerBuilder
MockRestServiceServer. 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
Constructors in org.springframework.web.client with parameters of type RestTemplate Constructor Description AsyncRestTemplate(AsyncClientHttpRequestFactory requestFactory, RestTemplate restTemplate)
Deprecated.Create a new instance of theAsyncRestTemplate
using the givenAsyncClientHttpRequestFactory
and synchronousRestTemplate
.Uses of RestTemplate in org.springframework.web.client.support
Methods in org.springframework.web.client.support that return RestTemplate Modifier and Type Method Description RestTemplate
RestGatewaySupport. getRestTemplate()
Returns theRestTemplate
for the gateway.Methods in org.springframework.web.client.support with parameters of type RestTemplate Modifier and Type Method Description void
RestGatewaySupport. setRestTemplate(RestTemplate restTemplate)
Sets theRestTemplate
for the gateway.