Class EncryptionModule
java.lang.Object
com.fasterxml.jackson.databind.Module
com.couchbase.client.java.encryption.databind.jackson.EncryptionModule
- All Implemented Interfaces:
com.fasterxml.jackson.core.Versioned
@Volatile public class EncryptionModule extends com.fasterxml.jackson.databind.Module
Can be registered with a Jackson
ObjectMapper
to activate
the Encrypted
annotation.-
Nested Class Summary
Nested classes/interfaces inherited from class com.fasterxml.jackson.databind.Module
com.fasterxml.jackson.databind.Module.SetupContext
-
Constructor Summary
Constructors Constructor Description EncryptionModule(CryptoManager cryptoManager)
-
Method Summary
Modifier and Type Method Description String
getModuleName()
void
setupModule(com.fasterxml.jackson.databind.Module.SetupContext context)
com.fasterxml.jackson.core.Version
version()
Methods inherited from class com.fasterxml.jackson.databind.Module
getDependencies, getTypeId
-
Constructor Details
-
EncryptionModule
-
-
Method Details
-
getModuleName
- Specified by:
getModuleName
in classcom.fasterxml.jackson.databind.Module
-
version
public com.fasterxml.jackson.core.Version version()- Specified by:
version
in interfacecom.fasterxml.jackson.core.Versioned
- Specified by:
version
in classcom.fasterxml.jackson.databind.Module
-
setupModule
public void setupModule(com.fasterxml.jackson.databind.Module.SetupContext context)- Specified by:
setupModule
in classcom.fasterxml.jackson.databind.Module
-