public class AbstractImpl extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static String |
ACCEPT |
protected String |
apiUrl |
protected static String |
AUTHORIZATION |
protected static String |
CONTENT_TYPE |
protected static String |
GRANT_TYPE |
protected org.apache.log4j.Logger |
logger |
protected static String |
SCOPE |
| Constructor and Description |
|---|
AbstractImpl(String apiUrl) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
marshall(Object object) |
protected <T> T |
unMarshall(org.apache.http.client.fluent.Response response,
Class<T> entity) |
protected <T> T |
unMarshallComplexResponse(org.apache.http.client.fluent.Response response,
com.fasterxml.jackson.core.type.TypeReference<T> typeReference) |
protected static final String AUTHORIZATION
protected static final String SCOPE
protected static final String GRANT_TYPE
protected static final String CONTENT_TYPE
protected static final String ACCEPT
protected String apiUrl
protected org.apache.log4j.Logger logger
public AbstractImpl(String apiUrl)
protected <T> T unMarshall(org.apache.http.client.fluent.Response response,
Class<T> entity)
protected <T> T unMarshallComplexResponse(org.apache.http.client.fluent.Response response,
com.fasterxml.jackson.core.type.TypeReference<T> typeReference)
Copyright © 2017. All rights reserved.