Class SerializingConverter
java.lang.Object
org.springframework.core.serializer.support.SerializingConverter
A
Converter
that delegates to a
Serializer
to convert an object to a byte array.- Since:
- 3.0.5
- Author:
- Gary Russell, Mark Fisher
-
Constructor Summary
ConstructorDescriptionCreate a defaultSerializingConverter
that uses standard Java serialization.SerializingConverter
(Serializer<Object> serializer) Create aSerializingConverter
that delegates to the providedSerializer
. -
Method Summary
-
Constructor Details
-
SerializingConverter
public SerializingConverter()Create a defaultSerializingConverter
that uses standard Java serialization. -
SerializingConverter
Create aSerializingConverter
that delegates to the providedSerializer
.
-
-
Method Details
-
convert
Serializes the source object and returns the byte array result.
-