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 Object implements javax.ws.rs.ext.ContextResolver<com.fasterxml.jackson.databind.ObjectMapper>
-
-
Field Summary
Fields Modifier and Type Field Description static String
dateFormatString
static 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(Class<?> clazz)
static void
setDateFormatString(String dateFormatString)
-
-
-
Field Detail
-
DEFAULT_DATE_FORMAT
public static final String DEFAULT_DATE_FORMAT
- See Also:
- Constant Field Values
-
dateFormatString
public static 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(Class<?> clazz)
- Specified by:
getContext
in interfacejavax.ws.rs.ext.ContextResolver<com.fasterxml.jackson.databind.ObjectMapper>
-
setDateFormatString
public static void setDateFormatString(String dateFormatString)
-
-