Package org.eso.ias.command
Interface ReplyStringSerializer
- All Known Implementing Classes:
ReplyJsonSerializer
public interface ReplyStringSerializer
Interface to serialize/deserializer the
ReplyMessage
to/from strings-
Method Summary
Modifier and TypeMethodDescriptioniasReplyToString
(ReplyMessage reply) Convert the passedReplyMessage
to a StringReturn the command by parsing the passed string
-
Method Details
-
iasReplyToString
Convert the passedReplyMessage
to a String- Parameters:
reply
- The command to serialize- Returns:
- A string representation of the passed command
- Throws:
StringSerializerException
- In case of error creating the string from the passed reply
-
valueOf
Return the command by parsing the passed string- Parameters:
str
- The string describing theReplyMessage
- Returns:
- the reply obtained unmasrhalling the passed string
- Throws:
StringSerializerException
- In case of error converting the string
-