Class EncryptedFieldDeserializer

java.lang.Object
com.couchbase.client.core.deps.com.fasterxml.jackson.databind.JsonDeserializer<Object>
com.couchbase.client.java.encryption.databind.jackson.repackaged.EncryptedFieldDeserializer
All Implemented Interfaces:
com.couchbase.client.core.deps.com.fasterxml.jackson.databind.deser.ContextualDeserializer, com.couchbase.client.core.deps.com.fasterxml.jackson.databind.deser.NullValueProvider

@Internal public class EncryptedFieldDeserializer extends com.couchbase.client.core.deps.com.fasterxml.jackson.databind.JsonDeserializer<Object> implements com.couchbase.client.core.deps.com.fasterxml.jackson.databind.deser.ContextualDeserializer
  • Nested Class Summary

    Nested classes/interfaces inherited from class com.couchbase.client.core.deps.com.fasterxml.jackson.databind.JsonDeserializer

    com.couchbase.client.core.deps.com.fasterxml.jackson.databind.JsonDeserializer.None
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    EncryptedFieldDeserializer(CryptoManager cryptoManager, Encrypted annotation, com.couchbase.client.core.deps.com.fasterxml.jackson.databind.BeanProperty beanProperty)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.couchbase.client.core.deps.com.fasterxml.jackson.databind.JsonDeserializer<?>
    createContextual(com.couchbase.client.core.deps.com.fasterxml.jackson.databind.DeserializationContext ctxt, com.couchbase.client.core.deps.com.fasterxml.jackson.databind.BeanProperty property)
    Returns a copy of this deserializer specialized for the given context.
    deserialize(com.couchbase.client.core.deps.com.fasterxml.jackson.core.JsonParser p, com.couchbase.client.core.deps.com.fasterxml.jackson.databind.DeserializationContext ctxt)
     

    Methods inherited from class com.couchbase.client.core.deps.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

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • EncryptedFieldDeserializer

      public EncryptedFieldDeserializer(CryptoManager cryptoManager, Encrypted annotation)
    • EncryptedFieldDeserializer

      public EncryptedFieldDeserializer(CryptoManager cryptoManager, Encrypted annotation, com.couchbase.client.core.deps.com.fasterxml.jackson.databind.BeanProperty beanProperty)
  • Method Details

    • createContextual

      public com.couchbase.client.core.deps.com.fasterxml.jackson.databind.JsonDeserializer<?> createContextual(com.couchbase.client.core.deps.com.fasterxml.jackson.databind.DeserializationContext ctxt, com.couchbase.client.core.deps.com.fasterxml.jackson.databind.BeanProperty property)
      Returns a copy of this deserializer specialized for the given context.
      Specified by:
      createContextual in interface com.couchbase.client.core.deps.com.fasterxml.jackson.databind.deser.ContextualDeserializer
    • deserialize

      public Object deserialize(com.couchbase.client.core.deps.com.fasterxml.jackson.core.JsonParser p, com.couchbase.client.core.deps.com.fasterxml.jackson.databind.DeserializationContext ctxt) throws IOException
      Specified by:
      deserialize in class com.couchbase.client.core.deps.com.fasterxml.jackson.databind.JsonDeserializer<Object>
      Throws:
      IOException