public interface IRequestEncoder
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
decode(java.lang.String s)
Dncodes a String into an object.
|
java.lang.String |
encode(java.lang.Object r)
Encodes a request object.
|
java.lang.String encode(java.lang.Object r) throws java.io.IOException
r
- Object to serve as the source of the message.java.io.IOException
- Failure of the encoding operation due to IO error.java.lang.Object decode(java.lang.String s) throws java.io.IOException
java.io.IOException
- Failure of the decoding operation due to IO error.