Interface Multipart.General

All Superinterfaces:
Multipart
All Known Subinterfaces:
Multipart.General.Strict
All Known Implementing Classes:
Multipart.General, Multipart.General$.Strict
Enclosing interface:
Multipart

public static interface Multipart.General extends Multipart
Basic model for multipart content as defined by http://tools.ietf.org/html/rfc2046.
  • Method Details

    • getParts

      akka.stream.javadsl.Source<? extends Multipart.General.BodyPart,Object> getParts()
      Specified by:
      getParts in interface Multipart
    • toStrict

      CompletionStage<Multipart.General.Strict> toStrict(long timeoutMillis, akka.stream.Materializer materializer)
      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 CompletionStage is failed with an TimeoutException if one part isn't read completely after the given timeout.
      Specified by:
      toStrict in interface Multipart