Class PlaintextToBase64StringConverter

java.lang.Object
com.fasterxml.jackson.databind.util.StdConverter<Plaintext,String>
org.springframework.vault.support.PlaintextToBase64StringConverter
All Implemented Interfaces:
com.fasterxml.jackson.databind.util.Converter<Plaintext,String>

public class PlaintextToBase64StringConverter extends com.fasterxml.jackson.databind.util.StdConverter<Plaintext,String>
Converts Plaintext to Base64 encoded string for use with ObjectMapper
Author:
James Luke
  • Nested Class Summary

    Nested classes/interfaces inherited from interface com.fasterxml.jackson.databind.util.Converter

    com.fasterxml.jackson.databind.util.Converter.None
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    convert(Plaintext plaintext)
     

    Methods inherited from class com.fasterxml.jackson.databind.util.StdConverter

    _findConverterType, getInputType, getOutputType

    Methods inherited from class java.lang.Object

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

    • PlaintextToBase64StringConverter

      public PlaintextToBase64StringConverter()
  • Method Details

    • convert

      public String convert(Plaintext plaintext)
      Specified by:
      convert in interface com.fasterxml.jackson.databind.util.Converter<Plaintext,String>
      Specified by:
      convert in class com.fasterxml.jackson.databind.util.StdConverter<Plaintext,String>