Package org.apache.tapestry5.rest.jackson.internal

## Class FallbackObjectMapperSource

- java.lang.Object
- - org.apache.tapestry5.rest.jackson.internal.FallbackObjectMapperSource

- All Implemented Interfaces:
    `ObjectMapperSource`

      public final class FallbackObjectMapperSource
      extends java.lang.Object
      implements ObjectMapperSource

  `ObjectMapperSource` implementation that always returns the same object returned by instantiating `ObjectMapper`.
  Since:
    5.8.0

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `FallbackObjectMapperSource()` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `com.fasterxml.jackson.databind.ObjectMapper` | `get​(java.lang.Class<?> clasz)` | Provides the ObjectMapper to be used for a given mapped entity class.

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

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

- - ### Constructor Detail

    - #### FallbackObjectMapperSource

          public FallbackObjectMapperSource()

  - ### Method Detail

    - #### get

          public com.fasterxml.jackson.databind.ObjectMapper get​(java.lang.Class<?> clasz)

      Description copied from interface: `ObjectMapperSource`
      Provides the ObjectMapper to be used for a given mapped entity class.
      Specified by:
        `get` in interface `ObjectMapperSource`