Class RestMapperUtils

java.lang.Object
org.apache.flink.runtime.rest.util.RestMapperUtils

public class RestMapperUtils extends Object
This class contains utilities for mapping requests and responses to/from JSON.
  • Constructor Details

    • RestMapperUtils

      public RestMapperUtils()
  • Method Details

    • getStrictObjectMapper

      public static org.apache.flink.shaded.jackson2.com.fasterxml.jackson.databind.ObjectMapper getStrictObjectMapper()
      Returns a preconfigured strict ObjectMapper.
      Returns:
      preconfigured object mapper
    • getFlexibleObjectMapper

      public static org.apache.flink.shaded.jackson2.com.fasterxml.jackson.databind.ObjectMapper getFlexibleObjectMapper()
      Returns a preconfigured flexible ObjectMapper.
      Returns:
      preconfigured object mapper