org.springframework.core.serializer.support

Class DeserializingConverter

  • java.lang.Object
    • org.springframework.core.serializer.support.DeserializingConverter
    • Constructor Detail

      • DeserializingConverter

        public DeserializingConverter()
        Create a default DeserializingConverter that uses standard Java deserialization.
      • DeserializingConverter

        public DeserializingConverter(Deserializer<Object> deserializer)
        Create a DeserializingConverter that delegates to the provided Deserializer.
    • Method Detail

      • convert

        public Object convert(byte[] source)
        Description copied from interface: Converter
        Convert the source of type S to target type T.
        Specified by:
        convert in interface  Converter<byte[],Object>
        Parameters:
        source - the source object to convert, which must be an instance of S
        Returns:
        the converted object, which must be an instance of T