Package com.netscape.certsrv.connector
Interface IRequestEncoder
- All Known Implementing Classes:
HttpRequestEncoder
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
-
Method Details
-
encode
Encodes a request object.- Parameters:
r
- Object to serve as the source of the message.- Returns:
- String containing encoded message.
- Throws:
IOException
- Failure of the encoding operation due to IO error.
-
decode
Dncodes a String into an object.- Returns:
- Object which is the result of the decoded message.
- Throws:
IOException
- Failure of the decoding operation due to IO error.
-