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

  Modifier and Type
  Method
  Description
  `com.fasterxml.jackson.databind.ObjectMapper`
  `get(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 Details

  - ### FallbackObjectMapperSource

    public FallbackObjectMapperSource()

- ## Method Details

  - ### get

    public com.fasterxml.jackson.databind.ObjectMapper get(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`