Class AsyncStreamHelper

  • @Deprecated
    public final class AsyncStreamHelper
    extends Object
    Prefer the Reactive Streams-based asynchronous driver (mongodb-driver-reactivestreams artifactId)
    A general helper class that creates AsyncInputStream or AsyncOutputStream instances. Provides support for:
    • byte[] - Converts byte arrays into Async Streams
    • ByteBuffer - Converts ByteBuffers into Async Streams
    • InputStream - Converts InputStreams into Async Streams (Note: InputStream implementations are blocking)
    • OutputStream - Converts OutputStreams into Async Streams (Note: OutputStream implementations are blocking)