Class DownloadRequestSerde

java.lang.Object
com.fasterxml.jackson.databind.JsonDeserializer<DownloadRequest>
org.gbif.api.jackson.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
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    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

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait