public final class NuxeoResponseConverter<T> extends Object implements retrofit2.Converter<okhttp3.ResponseBody,T>
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,Class<?>> |
entityTypeToClass |
protected com.fasterxml.jackson.databind.JavaType |
javaType |
protected com.fasterxml.jackson.databind.ObjectMapper |
objectMapper |
| Modifier | Constructor and Description |
|---|---|
protected |
NuxeoResponseConverter(com.fasterxml.jackson.databind.ObjectMapper objectMapper,
com.fasterxml.jackson.databind.JavaType javaType,
Map<String,Class<?>> entityTypeToClass) |
protected final com.fasterxml.jackson.databind.JavaType javaType
protected final com.fasterxml.jackson.databind.ObjectMapper objectMapper
public T convert(okhttp3.ResponseBody body) throws IOException
convert in interface retrofit2.Converter<okhttp3.ResponseBody,T>IOExceptionCopyright © 2018 Nuxeo. All rights reserved.