Class JacksonConfigurator
java.lang.Object
org.camunda.bpm.engine.rest.mapper.JacksonConfigurator
- All Implemented Interfaces:
jakarta.ws.rs.ext.ContextResolver<com.fasterxml.jackson.databind.ObjectMapper>
@Provider
@Produces({"application/json","application/hal+json"})
public class JacksonConfigurator
extends Object
implements jakarta.ws.rs.ext.ContextResolver<com.fasterxml.jackson.databind.ObjectMapper>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic 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 Details
-
DEFAULT_DATE_FORMAT
- See Also:
-
dateFormatString
-
-
Constructor Details
-
JacksonConfigurator
public JacksonConfigurator()
-
-
Method Details
-
configureObjectMapper
public static com.fasterxml.jackson.databind.ObjectMapper configureObjectMapper(com.fasterxml.jackson.databind.ObjectMapper mapper) -
getContext
- Specified by:
getContext
in interfacejakarta.ws.rs.ext.ContextResolver<com.fasterxml.jackson.databind.ObjectMapper>
-
setDateFormatString
-