Class ObjectMapperFactory
java.lang.Object
org.apache.directory.scim.core.json.ObjectMapperFactory
Creates and configures an
ObjectMapper
used for application/scim+json
parsing.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic com.fasterxml.jackson.databind.ObjectMapper
createObjectMapper
(SchemaRegistry schemaRegistry) Creates and configures anObjectMapper
SCIM Resource in REST request and responsesapplication/scim+json
.static com.fasterxml.jackson.databind.ObjectMapper
Returns an ObjectMapper configured for use with Jackson and Jakarta bindings.
-
Constructor Details
-
ObjectMapperFactory
public ObjectMapperFactory()
-
-
Method Details
-
getObjectMapper
public static com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()Returns an ObjectMapper configured for use with Jackson and Jakarta bindings. This ObjectMapper does NOT unmarshal SCIM Extension values, usecreateObjectMapper(SchemaRegistry)
when serializing REST response and requests.- Returns:
- an ObjectMapper configured for use with Jackson and Jakarta bindings.
-
createObjectMapper
public static com.fasterxml.jackson.databind.ObjectMapper createObjectMapper(SchemaRegistry schemaRegistry) Creates and configures anObjectMapper
SCIM Resource in REST request and responsesapplication/scim+json
.
-