public abstract class AbstractOperations extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static org.joda.time.format.DateTimeFormatter |
formatter |
| Constructor and Description |
|---|
AbstractOperations(String apiUrlBase) |
| Modifier and Type | Method and Description |
|---|---|
protected URI |
buildUri(String path) |
protected URI |
buildUri(String path,
org.springframework.util.MultiValueMap<String,String> parameters) |
protected URI |
buildUri(String path,
String parameterName,
String parameterValue) |
protected String |
convertUtcAndFormat(org.joda.time.DateTime dt) |
protected String |
getApiUrlBase() |
protected org.springframework.http.HttpEntity<?> |
getRequestEntity(ETagInfo info) |
protected void |
handleResponseEtag(ETagInfo etagInfo,
org.springframework.http.HttpHeaders headers) |
public AbstractOperations(String apiUrlBase)
apiUrlBase - protected URI buildUri(String path, String parameterName, String parameterValue)
path - parameterName - parameterValue - protected URI buildUri(String path, org.springframework.util.MultiValueMap<String,String> parameters)
path - parameters - protected String getApiUrlBase()
protected org.springframework.http.HttpEntity<?> getRequestEntity(ETagInfo info)
protected void handleResponseEtag(ETagInfo etagInfo, org.springframework.http.HttpHeaders headers)
protected String convertUtcAndFormat(org.joda.time.DateTime dt)
Copyright © 2012. All Rights Reserved.