Package org.keycloak.services.util
Class ObjectMapperResolver
java.lang.Object
org.keycloak.services.util.ObjectMapperResolver
- All Implemented Interfaces:
jakarta.ws.rs.ext.ContextResolver<com.fasterxml.jackson.databind.ObjectMapper>
public class ObjectMapperResolver
extends Object
implements jakarta.ws.rs.ext.ContextResolver<com.fasterxml.jackson.databind.ObjectMapper>
Any class with package org.jboss.resteasy.skeleton.key will use NON_DEFAULT inclusion
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic com.fasterxml.jackson.databind.ObjectMapper
com.fasterxml.jackson.databind.ObjectMapper
getContext
(Class<?> type)
-
Field Details
-
mapper
protected com.fasterxml.jackson.databind.ObjectMapper mapper
-
-
Constructor Details
-
ObjectMapperResolver
public ObjectMapperResolver()
-
-
Method Details
-
createStreamSerializer
public static com.fasterxml.jackson.databind.ObjectMapper createStreamSerializer() -
getContext
- Specified by:
getContext
in interfacejakarta.ws.rs.ext.ContextResolver<com.fasterxml.jackson.databind.ObjectMapper>
-