Class JacksonMapperProvider
- java.lang.Object
-
- com.tangosol.coherence.rest.providers.JacksonMapperProvider
-
- All Implemented Interfaces:
javax.ws.rs.ext.ContextResolver<com.fasterxml.jackson.databind.ObjectMapper>
@Provider public class JacksonMapperProvider extends Object implements javax.ws.rs.ext.ContextResolver<com.fasterxml.jackson.databind.ObjectMapper>
Provider responsible for converting Java object to/from JSON/XML.- Since:
- Coherence 12.2.1
- Author:
- lh 2014.07.18
-
-
Constructor Summary
Constructors Constructor Description JacksonMapperProvider()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.databind.ObjectMapper
getContext(Class<?> type)
static com.fasterxml.jackson.databind.ObjectMapper
getObjectMapper()
-
-
-
Method Detail
-
getContext
public com.fasterxml.jackson.databind.ObjectMapper getContext(Class<?> type)
- Specified by:
getContext
in interfacejavax.ws.rs.ext.ContextResolver<com.fasterxml.jackson.databind.ObjectMapper>
-
getObjectMapper
public static com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()
-
-