public interface SpringRestClient extends RestClient
RestClient
using Spring RestTemplate
.RestClient.Invocation, RestClient.RequestDefinition
RestClientOperations.InvocationOperations<RE,RP,RS,RL,RU>, RestClientOperations.RequestConfiguration<R extends RestClientOperations.RequestConfiguration<R>>
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. |
create, create, create, create, forTarget, forTarget
clearDefaultHeaders, defaultTarget, getDefaultTarget, removeDefaultHeader, request, withDefaultHeader
org.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 © 2018 The Holon Platform. All rights reserved.