Integration Cloud 6.1.0 | Built-In Services | Built-In Services | streamToString
 
streamToString
Creates a string from data that is read from an InputStream.
Input Parameters
inputStream
java.io.InputStream The InputStream to convert to a string.
encoding
String Optional. Name of a registered, IANA character set (for example, ISO-8859-1). If you specify an unsupported encoding, the system throws an exception. If no value is specified the encoding will be UTF-8.
Output Parameters
string
String Data read from inputStream and converted to a string.