public interface SpringRestClient extends RestClient
RestClient using Spring RestTemplate.RestClient.Invocation, RestClient.Invoker, RestClient.RequestDefinition| Modifier and Type | Method and Description |
|---|---|
static RestClient |
create(org.springframework.web.client.RestTemplate restTemplate)
Create a
RestClient using given restTemplate. |
org.springframework.web.client.RestTemplate |
getRestTemplate()
Get the
RestTemplate bound to this RestClient. |
clearDefaultHeaders, create, create, create, create, defaultTarget, forTarget, forTarget, getDefaultTarget, removeDefaultHeader, request, withDefaultHeaderorg.springframework.web.client.RestTemplate getRestTemplate()
RestTemplate bound to this RestClient.static RestClient create(org.springframework.web.client.RestTemplate restTemplate)
RestClient using given restTemplate.restTemplate - RestTemplate to use to perform invocations (not null)Copyright © 2017 The Holon Platform. All rights reserved.