Class SerializableInputStream
java.lang.Object
java.io.InputStream
org.frankframework.management.gateway.SerializableInputStream
- All Implemented Interfaces:
 Closeable,Externalizable,Serializable,AutoCloseable
InputStream wrapper to allow streams to be serialized and deserialized so the (raw) binary data can be sent using Hazelcast.
 When deserializing the data is temporarily written to disk. The temporary file is removed once the stream is closed.
- Author:
 - Niels Meijer
 - See Also:
 
- 
Constructor Summary
ConstructorsConstructorDescriptionConstructor for deserialization.Default constructor, to wrap the original stream in. - 
Method Summary
Methods inherited from class java.io.InputStream
available, mark, markSupported, nullInputStream, readAllBytes, readNBytes, readNBytes, reset, skip, skipNBytes, transferTo 
- 
Constructor Details
- 
SerializableInputStream
public SerializableInputStream()Constructor for deserialization. - 
SerializableInputStream
Default constructor, to wrap the original stream in. 
 - 
 - 
Method Details
- 
writeExternal
- Specified by:
 writeExternalin interfaceExternalizable- Throws:
 IOException
 - 
readExternal
- Specified by:
 readExternalin interfaceExternalizable- Throws:
 IOExceptionClassNotFoundException
 - 
read
- Specified by:
 readin classInputStream- Throws:
 IOException
 - 
read
- Overrides:
 readin classInputStream- Throws:
 IOException
 - 
read
- Overrides:
 readin classInputStream- Throws:
 IOException
 - 
close
- Specified by:
 closein interfaceAutoCloseable- Specified by:
 closein interfaceCloseable- Overrides:
 closein classInputStream- Throws:
 IOException
 
 -