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
ObjectMapperSourceimplementation that always returns the same object returned by instantiatingObjectMapper.- 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.ObjectMapperget(java.lang.Class<?> clasz)Provides the ObjectMapper to be used for a given mapped entity class.
-
-
-
Constructor Detail
-
FallbackObjectMapperSource
public FallbackObjectMapperSource()
-
-
Method Detail
-
get
public com.fasterxml.jackson.databind.ObjectMapper get(java.lang.Class<?> clasz)
Description copied from interface:ObjectMapperSourceProvides the ObjectMapper to be used for a given mapped entity class.- Specified by:
getin interfaceObjectMapperSource
-
-