Class StringSerializer
java.lang.Object
io.quarkus.reactivemessaging.http.runtime.serializers.StringSerializer
- All Implemented Interfaces:
Serializer<String>
Serializer for Strings
-
Field Summary
Fields inherited from interface io.quarkus.reactivemessaging.http.runtime.serializers.Serializer
DEFAULT_PRIORITY -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.quarkus.reactivemessaging.http.runtime.serializers.Serializer
getPriority
-
Constructor Details
-
StringSerializer
public StringSerializer()
-
-
Method Details
-
handles
Description copied from interface:Serializerif the serializer can handle given payload- Specified by:
handlesin interfaceSerializer<String>- Parameters:
payload- the payload- Returns:
- true iff the seralizer can handle the payload
-
serialize
Description copied from interface:Serializerserialize the payload- Specified by:
serializein interfaceSerializer<String>- Parameters:
payload- object to serialize- Returns:
- a buffer with serialized payload
-