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

    Modifier and Type
    Method
    Description
    Dncodes a String into an object.
    Encodes a request object.
  • Method Details

    • encode

      String encode(Object r) throws IOException
      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

      Object decode(String s) throws IOException
      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.