Class JacksonBodyConverter
java.lang.Object
com.contentgrid.opa.client.rest.client.jdk.converter.JacksonBodyConverter
- All Implemented Interfaces:
HttpBodyConverter
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.contentgrid.opa.client.rest.client.jdk.converter.HttpBodyConverter
HttpBodyConverter.DeserializationContext, HttpBodyConverter.SerializationContext -
Constructor Summary
ConstructorsConstructorDescriptionJacksonBodyConverter(com.fasterxml.jackson.databind.ObjectMapper objectMapper) -
Method Summary
Modifier and TypeMethodDescription<T> booleancanRead(HttpBodyConverter.DeserializationContext context, Class<T> type) boolean<T> Tread(HttpBodyConverter.DeserializationContext context, Class<T> type) byte[]Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.contentgrid.opa.client.rest.client.jdk.converter.HttpBodyConverter
supportsMediaType
-
Constructor Details
-
JacksonBodyConverter
public JacksonBodyConverter() -
JacksonBodyConverter
public JacksonBodyConverter(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
-
Method Details
-
canRead
- Specified by:
canReadin interfaceHttpBodyConverter
-
getSupportedMediaTypes
- Specified by:
getSupportedMediaTypesin interfaceHttpBodyConverter
-
read
- Specified by:
readin interfaceHttpBodyConverter
-
canWrite
- Specified by:
canWritein interfaceHttpBodyConverter
-
write
- Specified by:
writein interfaceHttpBodyConverter
-