Package io.atleon.aws.sqs
Class StringBodySerializer<T>
- java.lang.Object
-
- io.atleon.aws.sqs.StringBodySerializer<T>
-
- Type Parameters:
T- Type to be serialized from
- All Implemented Interfaces:
BodySerializer<T>,io.atleon.util.Configurable
public final class StringBodySerializer<T> extends Object implements BodySerializer<T>
An SQSBodySerializerthat serializes objects using theirObject.toString().
-
-
Constructor Summary
Constructors Constructor Description StringBodySerializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringserialize(T data)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.atleon.aws.sqs.BodySerializer
configure
-
-
-
-
Method Detail
-
serialize
public String serialize(T data)
- Specified by:
serializein interfaceBodySerializer<T>
-
-