org.keycloak.services.util

## Class ObjectMapperResolver

- java.lang.Object
- - org.keycloak.services.util.ObjectMapperResolver

- All Implemented Interfaces:
    javax.ws.rs.ext.ContextResolver<com.fasterxml.jackson.databind.ObjectMapper>

      public class ObjectMapperResolver
      extends Object
      implements javax.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

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `protected com.fasterxml.jackson.databind.ObjectMapper` | `mapper`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `ObjectMapperResolver()`

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static com.fasterxml.jackson.databind.ObjectMapper` | `createStreamSerializer()`
    `com.fasterxml.jackson.databind.ObjectMapper` | `getContext(Class<?> type)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### mapper

          protected com.fasterxml.jackson.databind.ObjectMapper mapper

  - ### Constructor Detail

    - #### ObjectMapperResolver

          public ObjectMapperResolver()

  - ### Method Detail

    - #### createStreamSerializer

          public static com.fasterxml.jackson.databind.ObjectMapper createStreamSerializer()

    - #### getContext

          public com.fasterxml.jackson.databind.ObjectMapper getContext(Class<?> type)

      Specified by:
        `getContext` in interface `javax.ws.rs.ext.ContextResolver<com.fasterxml.jackson.databind.ObjectMapper>`

Copyright © 2021 JBoss by Red Hat. All rights reserved.