Class ObjectMapperResolver

java.lang.Object
org.keycloak.services.util.ObjectMapperResolver
All Implemented Interfaces:
jakarta.ws.rs.ext.ContextResolver<com.fasterxml.jackson.databind.ObjectMapper>

@Provider 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 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

      public com.fasterxml.jackson.databind.ObjectMapper getContext(Class<?> type)
      Specified by:
      getContext in interface jakarta.ws.rs.ext.ContextResolver<com.fasterxml.jackson.databind.ObjectMapper>