Class DownloadRequestSerde

  • All Implemented Interfaces:
    com.fasterxml.jackson.databind.deser.NullValueProvider

    public class DownloadRequestSerde
    extends com.fasterxml.jackson.databind.JsonDeserializer<DownloadRequest>
    Download request deserializer.

    For most of the time, the serialization has been to "notificationAddresses" and "sendNotification". For a few months in 2018-2019, it was "notification_address" and "send_notification".

    The API documentation has previously specified "notification_address" and "sendNotification".

    We therefore accept all combinations.

    https://github.com/gbif/portal-feedback/issues/2046

    • Nested Class Summary

      • Nested classes/interfaces inherited from class com.fasterxml.jackson.databind.JsonDeserializer

        com.fasterxml.jackson.databind.JsonDeserializer.None
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      DownloadRequest deserialize​(com.fasterxml.jackson.core.JsonParser jp, com.fasterxml.jackson.databind.DeserializationContext ctxt)  
      • Methods inherited from class com.fasterxml.jackson.databind.JsonDeserializer

        deserialize, deserializeWithType, deserializeWithType, findBackReference, getAbsentValue, getDelegatee, getEmptyAccessPattern, getEmptyValue, getEmptyValue, getKnownPropertyNames, getNullAccessPattern, getNullValue, getNullValue, getObjectIdReader, handledType, isCachable, logicalType, replaceDelegatee, supportsUpdate, unwrappingDeserializer