Package org.gbif.api.ws.mixin
Class Mixins
- java.lang.Object
-
- org.gbif.api.ws.mixin.Mixins
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Map<Class<?>,Class<?>>
getPredefinedMixins()
Return an immutable map of the predefined Jackson Mixins used by the web services.static Map<Class<?>,Class<?>>
getPredefinedMixins(Predicate<Class<?>> keyFilter)
Get an immutable map of the predefined Jackson Mixins after the provided keyFilter is applied.
-
-
-
Method Detail
-
getPredefinedMixins
public static Map<Class<?>,Class<?>> getPredefinedMixins()
Return an immutable map of the predefined Jackson Mixins used by the web services.- Returns:
- immutable map of the predefined Jackson Mixins
-
getPredefinedMixins
public static Map<Class<?>,Class<?>> getPredefinedMixins(Predicate<Class<?>> keyFilter)
Get an immutable map of the predefined Jackson Mixins after the provided keyFilter is applied.- Parameters:
keyFilter
- predicate to filter the predefined mixins based on the model class- Returns:
- immutable map of the predefined Jackson Mixins after applying the predicate
-
-