@Provider @Consumes(value={"application/json","text/json"}) @Produces(value={"application/json","text/json"}) public static class SchedulerRestClient.JacksonContextResolver extends Object implements javax.ws.rs.ext.ContextResolver<com.fasterxml.jackson.databind.ObjectMapper>
Constructor and Description |
---|
JacksonContextResolver() |
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.ObjectMapper |
getContext(Class<?> objectType) |
public com.fasterxml.jackson.databind.ObjectMapper getContext(Class<?> objectType)
getContext
in interface javax.ws.rs.ext.ContextResolver<com.fasterxml.jackson.databind.ObjectMapper>