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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SerialInputData(byte[] bytes)Constructs new instance of SerialInputData.SerialInputData(InputStream stream)Constructs new instance of SerialInputData.
-
-
-
Constructor Detail
-
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 Detail
-
getStream
public InputStream getStream()
- Returns:
- data stream
-
-