Class Multipart.General

    • Constructor Detail

      • General

        public General()
    • Method Detail

      • parts

        public abstract akka.stream.scaladsl.Source<akka.http.scaladsl.model.Multipart.General.BodyPart,​java.lang.Object> parts()
        Description copied from interface: Multipart
        The stream of body parts this content consists of.
        Specified by:
        parts in interface Multipart
        Returns:
        (undocumented)
      • toStrict

        public scala.concurrent.Future<akka.http.scaladsl.model.Multipart.General.Strict> toStrict​(scala.concurrent.duration.FiniteDuration timeout,
                                                                                                   akka.stream.Materializer fm)
        Description copied from interface: Multipart
        Converts this content into its strict counterpart. The given timeout denotes the max time that an individual part must be read in. The Future is failed with an TimeoutException if one part isn't read completely after the given timeout.
        Specified by:
        toStrict in interface Multipart
        Parameters:
        timeout - (undocumented)
        fm - (undocumented)
        Returns:
        (undocumented)