public abstract class AbstractService
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
protected static class |
AbstractService.OutputStreamResponseExtractor |
| Modifier and Type | Field and Description |
|---|---|
protected com.fasterxml.jackson.databind.ObjectMapper |
mapper |
protected org.springframework.web.client.RequestCallback |
noopRequestCallback |
protected org.springframework.web.client.RestTemplate |
restTemplate |
static java.lang.Integer |
WAIT_BEFORE_RETRY_IN_MILLIS |
| Constructor and Description |
|---|
AbstractService(org.springframework.web.client.RestTemplate restTemplate)
Sets RESTful HTTP Spring template.
|
| Modifier and Type | Method and Description |
|---|---|
protected <T> T |
extractData(org.springframework.http.client.ClientHttpResponse response,
java.lang.Class<T> cls) |
public static final java.lang.Integer WAIT_BEFORE_RETRY_IN_MILLIS
protected final org.springframework.web.client.RestTemplate restTemplate
protected final com.fasterxml.jackson.databind.ObjectMapper mapper
protected final org.springframework.web.client.RequestCallback noopRequestCallback
Copyright © 2016. All Rights Reserved.