Class SerialInputData

java.lang.Object
org.exoplatform.services.rest.ext.transport.SerialInputData
All Implemented Interfaces:
Serializable

public class SerialInputData extends Object implements Serializable
SerialInputData is useful for transfer data represented by stream via RMI.
Version:
$Id: $
Author:
Andrey Parfonov
See Also:
  • Constructor Details

    • SerialInputData

      public SerialInputData(InputStream stream)
      Constructs new instance of SerialInputData.
      Parameters:
      stream - data stream
    • SerialInputData

      public SerialInputData(byte[] bytes)
      Constructs new instance of SerialInputData.
      Parameters:
      bytes - data
  • Method Details

    • getStream

      public InputStream getStream()
      Returns:
      data stream