Class DeserializingConverter

java.lang.Object
org.springframework.core.serializer.support.DeserializingConverter
All Implemented Interfaces:
Converter<byte[],Object>

public class DeserializingConverter extends Object implements Converter<byte[],Object>
A Converter that delegates to a Deserializer to convert data in a byte array to an object.
Since:
3.0.5
Author:
Gary Russell, Mark Fisher, Juergen Hoeller
  • Constructor Details

  • Method Details

    • convert

      public Object convert(byte[] source)
      Description copied from interface: Converter
      Convert the source object 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 (never null)
      Returns:
      the converted object, which must be an instance of T (potentially null)