Interface BinaryMessage

    • Method Detail

      • dataStream

        akka.stream.scaladsl.Source<akka.util.ByteString,​?> dataStream()
        The contents of this message as a stream.
        Returns:
        (undocumented)
      • toStrict

        scala.concurrent.Future<BinaryMessage.Strict> toStrict​(scala.concurrent.duration.FiniteDuration timeout,
                                                               akka.stream.Materializer fm)
        Collects all possible parts and returns a potentially future Strict Message for easier processing. The Future is failed with an TimeoutException if the stream isn't completed after the given timeout.
        Parameters:
        timeout - (undocumented)
        fm - (undocumented)
        Returns:
        (undocumented)
      • getStreamedData

        akka.stream.javadsl.Source<akka.util.ByteString,​?> getStreamedData()
        Java API
      • toStrict

        java.util.concurrent.CompletionStage<BinaryMessage.Strict> toStrict​(long timeoutMillis,
                                                                            akka.stream.Materializer materializer)