Package akka.http.scaladsl.model
Class Multipart.FormData$.BodyPart$
- java.lang.Object
-
- akka.http.scaladsl.model.Multipart.FormData$.BodyPart$
-
- Enclosing class:
- Multipart.FormData$
public static class Multipart.FormData$.BodyPart$ extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMultipart.FormData$.BodyPart$.Builder$INTERNAL APIstatic classMultipart.FormData$.BodyPart$.StrictStrictFormData.BodyPart.static classMultipart.FormData$.BodyPart$.Strict$static classMultipart.FormData$.BodyPart$.StrictBuilder$INTERNAL API
-
Field Summary
Fields Modifier and Type Field Description static Multipart.FormData$.BodyPart$MODULE$Static reference to the singleton instance of this Scala 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.BodyPartapply(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.BodyPartfromFile(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.BodyPartfromPath(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)
-
-
-
Field Detail
-
MODULE$
public static final Multipart.FormData$.BodyPart$ MODULE$
Static reference to the singleton instance of this Scala object.
-
-
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)
-
-