Class Multipart.FormData$.BodyPart$

  • Enclosing class:
    Multipart.FormData$

    public static class Multipart.FormData$.BodyPart$
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      BodyPart$()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      akka.http.scaladsl.model.Multipart.FormData.BodyPart apply​(java.lang.String _name, BodyPartEntity _entity, scala.collection.immutable.Map<java.lang.String,​java.lang.String> _additionalDispositionParams, scala.collection.immutable.Seq<HttpHeader> _additionalHeaders)  
      akka.http.scaladsl.model.Multipart.FormData.BodyPart fromFile​(java.lang.String name, ContentType contentType, java.io.File file, int chunkSize)
      Creates a BodyPart backed by a File that will be streamed using a FileSource.
      akka.http.scaladsl.model.Multipart.FormData.BodyPart fromPath​(java.lang.String name, ContentType contentType, java.nio.file.Path file, int chunkSize)
      Creates a BodyPart backed by a file that will be streamed using a FileSource.
      scala.Option<scala.Tuple4<java.lang.String,​BodyPartEntity,​scala.collection.immutable.Map<java.lang.String,​java.lang.String>,​scala.collection.immutable.Seq<HttpHeader>>> unapply​(akka.http.scaladsl.model.Multipart.FormData.BodyPart value)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • BodyPart$

        public BodyPart$()
    • Method Detail

      • apply

        public akka.http.scaladsl.model.Multipart.FormData.BodyPart apply​(java.lang.String _name,
                                                                          BodyPartEntity _entity,
                                                                          scala.collection.immutable.Map<java.lang.String,​java.lang.String> _additionalDispositionParams,
                                                                          scala.collection.immutable.Seq<HttpHeader> _additionalHeaders)
      • fromFile

        public akka.http.scaladsl.model.Multipart.FormData.BodyPart fromFile​(java.lang.String name,
                                                                             ContentType contentType,
                                                                             java.io.File file,
                                                                             int chunkSize)
        Creates a BodyPart backed by a File that will be streamed using a FileSource.
        Parameters:
        name - (undocumented)
        contentType - (undocumented)
        file - (undocumented)
        chunkSize - (undocumented)
        Returns:
        (undocumented)
      • fromPath

        public akka.http.scaladsl.model.Multipart.FormData.BodyPart fromPath​(java.lang.String name,
                                                                             ContentType contentType,
                                                                             java.nio.file.Path file,
                                                                             int chunkSize)
        Creates a BodyPart backed by a file that will be streamed using a FileSource.
        Parameters:
        name - (undocumented)
        contentType - (undocumented)
        file - (undocumented)
        chunkSize - (undocumented)
        Returns:
        (undocumented)
      • unapply

        public scala.Option<scala.Tuple4<java.lang.String,​BodyPartEntity,​scala.collection.immutable.Map<java.lang.String,​java.lang.String>,​scala.collection.immutable.Seq<HttpHeader>>> unapply​(akka.http.scaladsl.model.Multipart.FormData.BodyPart value)