Class JacksonConfigurator
- java.lang.Object
-
- org.camunda.bpm.engine.rest.mapper.JacksonConfigurator
-
- All Implemented Interfaces:
javax.ws.rs.ext.ContextResolver<com.fasterxml.jackson.databind.ObjectMapper>
@Provider @Produces({"application/json","application/hal+json"}) public class JacksonConfigurator extends java.lang.Object implements javax.ws.rs.ext.ContextResolver<com.fasterxml.jackson.databind.ObjectMapper>
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
dateFormatString
static java.lang.String
DEFAULT_DATE_FORMAT
-
Constructor Summary
Constructors Constructor Description JacksonConfigurator()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static com.fasterxml.jackson.databind.ObjectMapper
configureObjectMapper(com.fasterxml.jackson.databind.ObjectMapper mapper)
com.fasterxml.jackson.databind.ObjectMapper
getContext(java.lang.Class<?> clazz)
static void
setDateFormatString(java.lang.String dateFormatString)
-
-
-
Field Detail
-
DEFAULT_DATE_FORMAT
public static final java.lang.String DEFAULT_DATE_FORMAT
- See Also:
- Constant Field Values
-
dateFormatString
public static java.lang.String dateFormatString
-
-
Method Detail
-
configureObjectMapper
public static com.fasterxml.jackson.databind.ObjectMapper configureObjectMapper(com.fasterxml.jackson.databind.ObjectMapper mapper)
-
getContext
public com.fasterxml.jackson.databind.ObjectMapper getContext(java.lang.Class<?> clazz)
- Specified by:
getContext
in interfacejavax.ws.rs.ext.ContextResolver<com.fasterxml.jackson.databind.ObjectMapper>
-
setDateFormatString
public static void setDateFormatString(java.lang.String dateFormatString)
-
-