eXo WS :: REST :: Extentions 2.3.0-GA

org.exoplatform.services.rest.ext.transport
Class SerialInputData

java.lang.Object
  extended by 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
SerialInputData(byte[] bytes)
          Constructs new instance of SerialInputData.
SerialInputData(InputStream stream)
          Constructs new instance of SerialInputData.
 
Method Summary
 InputStream getStream()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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

eXo WS :: REST :: Extentions 2.3.0-GA

Copyright © 2012 eXo Platform SAS. All Rights Reserved.