Package com.netscape.certsrv.connector
Interface IRequestEncoder
-
public interface IRequestEncoder
This represents a rquest encoder that serializes and deserializes a request to a Remote Authority so that it can be sent through the connector.- Version:
- $Revision$, $Date$
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
encode
java.lang.String encode(java.lang.Object r) throws java.io.IOException
Encodes a request object.- Parameters:
r
- Object to serve as the source of the message.- Returns:
- String containing encoded message.
- Throws:
java.io.IOException
- Failure of the encoding operation due to IO error.
-
decode
java.lang.Object decode(java.lang.String s) throws java.io.IOException
Dncodes a String into an object.- Returns:
- Object which is the result of the decoded message.
- Throws:
java.io.IOException
- Failure of the decoding operation due to IO error.
-
-