Class Multipart.FormData$.BodyPart$
java.lang.Object
org.apache.pekko.http.scaladsl.model.Multipart.FormData$.BodyPart$
- Enclosing class:
- Multipart.FormData$
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classINTERNAL APIstatic classStrictFormData.BodyPart.static classstatic classINTERNAL API
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final Multipart.FormData$.BodyPart$Static reference to the singleton instance of this Scala object.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionorg.apache.pekko.http.scaladsl.model.Multipart.FormData.BodyPartapply(String _name, BodyPartEntity _entity, scala.collection.immutable.Map<String, String> _additionalDispositionParams, scala.collection.immutable.Seq<HttpHeader> _additionalHeaders) org.apache.pekko.http.scaladsl.model.Multipart.FormData.BodyPartfromFile(String name, ContentType contentType, File file, int chunkSize) Creates a BodyPart backed by a File that will be streamed using a FileSource.org.apache.pekko.http.scaladsl.model.Multipart.FormData.BodyPartfromPath(String name, ContentType contentType, Path file, int chunkSize) Creates a BodyPart backed by a file that will be streamed using a FileSource.scala.Option<scala.Tuple4<String,BodyPartEntity, scala.collection.immutable.Map<String, String>, scala.collection.immutable.Seq<HttpHeader>>> unapply(org.apache.pekko.http.scaladsl.model.Multipart.FormData.BodyPart value) 
- 
Field Details- 
MODULE$Static reference to the singleton instance of this Scala object.
 
- 
- 
Constructor Details- 
BodyPart$public BodyPart$()
 
- 
- 
Method Details- 
applypublic org.apache.pekko.http.scaladsl.model.Multipart.FormData.BodyPart apply(String _name, BodyPartEntity _entity, scala.collection.immutable.Map<String, String> _additionalDispositionParams, scala.collection.immutable.Seq<HttpHeader> _additionalHeaders) 
- 
fromFilepublic org.apache.pekko.http.scaladsl.model.Multipart.FormData.BodyPart fromFile(String name, ContentType contentType, 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)
 
- 
fromPathpublic org.apache.pekko.http.scaladsl.model.Multipart.FormData.BodyPart fromPath(String name, ContentType contentType, 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)
 
- 
unapplypublic scala.Option<scala.Tuple4<String,BodyPartEntity, unapplyscala.collection.immutable.Map<String, String>, scala.collection.immutable.Seq<HttpHeader>>> (org.apache.pekko.http.scaladsl.model.Multipart.FormData.BodyPart value) 
 
-