Interface EndpointJsonMapper


public interface EndpointJsonMapper
Interface used to supply the JsonMapper that should be used when serializing endpoint results.
Since:
4.0.0
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final Set<Class<?>>
    The default supported types.
  • Method Summary

    Modifier and Type
    Method
    Description
    tools.jackson.databind.json.JsonMapper
    get()
    Return the JsonMapper that should be used to serialize OperationResponseBody endpoint results.
    default Set<Class<?>>
    Return the types that this endpoint mapper supports.
  • Field Details

    • DEFAULT_SUPPORTED_TYPES

      static final Set<Class<?>> DEFAULT_SUPPORTED_TYPES
      The default supported types.
  • Method Details

    • get

      tools.jackson.databind.json.JsonMapper get()
      Return the JsonMapper that should be used to serialize OperationResponseBody endpoint results.
      Returns:
      the object mapper
    • getSupportedTypes

      default Set<Class<?>> getSupportedTypes()
      Return the types that this endpoint mapper supports.
      Returns:
      the supported types