IP*Works! V9 - Online Help
IP*Works! V9
Questions / Feedback?

SetMessageStream Method

Sets the stream to be uploaded to the server as part of the message.

Syntax

public void setMessageStream(java.io.InputStream messageStream);

Remarks

This method sets the stream to be uploaded to the server as part of the message. If an upload stream is set before the Send method is called, the content of the stream will be read by the bean and uploaded to the server; The stream should be open and normally set to position 0. The bean will automatically close this stream if CloseStreamAfterTransfer is set to true (default). If the stream is closed, you will need to call this method again before calling Send again. The content of the stream will be read from the current position all the way to the end.

Note: This method and LocalFile will reset the other.

 
 
Copyright (c) 2018 /n software inc. - All rights reserved.
Build 9.0.6635.0