public class StreamProxyUtil extends Object
InputStream
The proxies lazily initialize and delegate method calls to real InputStream instances.
This utility is particularly useful when there's a need to delay the initialization of an InputStream
until it's actually used, for example, in scenarios where the initialization is expensive or requires external resources.
| Constructor and Description |
|---|
StreamProxyUtil() |
| Modifier and Type | Method and Description |
|---|---|
static InputStream |
getInputStreamFromStreamFactory(LazyStreamSupplier streamFactory) |
public static InputStream getInputStreamFromStreamFactory(LazyStreamSupplier streamFactory)
Copyright © 2003–2023 MuleSoft, Inc.. All rights reserved.