java.lang.Object
org.springframework.integration.mapping.support.JsonHeaders

public final class JsonHeaders extends Object
Pre-defined names and prefixes to be used for setting and/or retrieving JSON entries from/to Message Headers and other adapter, e.g. AMQP.
Since:
3.0
Author:
Artem Bilan, Gary Russell
  • Field Details

  • Method Details

    • buildResolvableType

      public static ResolvableType buildResolvableType(ClassLoader classLoader, Object targetClassValue, @Nullable Object contentClassValue, @Nullable Object keyClassValue)
      Build a ResolvableType for provided class components.
      Parameters:
      classLoader - a ClassLoader t load classes for components if needed.
      targetClassValue - the class representation object.
      contentClassValue - the collection element (or map value) class representation object.
      keyClassValue - the map key class representation object.
      Returns:
      the ResolvableType based on provided class components
      Since:
      5.2.4
    • buildResolvableType

      public static ResolvableType buildResolvableType(Class<?> targetClass, @Nullable Class<?> contentClass, @Nullable Class<?> keyClass)
      Build a ResolvableType for provided class components.
      Parameters:
      targetClass - the class to use.
      contentClass - the collection element (or map value) class.
      keyClass - the map key class.
      Returns:
      the ResolvableType based on provided class components
      Since:
      5.2.4