@Service public class RestClient extends Object
| Constructor and Description |
|---|
RestClient(boolean logCalls) |
| Modifier and Type | Method and Description |
|---|---|
<U,V> V |
send(org.springframework.http.HttpMethod method,
org.springframework.http.HttpEntity<U> requestEntity,
String url,
org.springframework.core.ParameterizedTypeReference<V> responseType) |
public RestClient(@Value(value="${inmanlabs.restclient.logging}")
boolean logCalls)
public <U,V> V send(org.springframework.http.HttpMethod method,
org.springframework.http.HttpEntity<U> requestEntity,
String url,
org.springframework.core.ParameterizedTypeReference<V> responseType)
throws FailedDependencyException
FailedDependencyExceptionCopyright © 2019. All rights reserved.