public interface StreamingHelper
| Modifier and Type | Method and Description |
|---|---|
org.mule.runtime.api.streaming.bytes.CursorStreamProvider |
resolveCursorStreamProvider(InputStream value)
If the value is a repeatable streaming resource such as
InputStream,
CursorStream, then an equivalent CursorStreamProvider is returned. |
org.mule.runtime.api.streaming.bytes.CursorStreamProvider resolveCursorStreamProvider(InputStream value)
InputStream,
CursorStream, then an equivalent CursorStreamProvider is returned. For
CursorStream values, the same CursorStreamProvider that already owns
that CursorStream is used. For other streaming values, the operation's
repeatable streaming strategy will be used. If that strategy doesn't apply (e.g: the operation returns a PagingProvider but
the streaming resource is an InputStream), then the system's default matching strategy will be used instead.value - a value which may be a repeatable streaming resource.Copyright © 2023. All rights reserved.