/** * Creates a FormData instance that contains a single part backed by the given file. * * To create an instance with several parts or for multiple files, use * `Multiparts.createFormDataFromParts(Multiparts.createFormDataPartFromPath("field1", ...), Multiparts.createFormDataPartFromPath("field2", ...)` */ public static Multipart.FormData createFormDataFromPath(String name, ContentType contentType, Path path, int chunkSize) { return akka.http.scaladsl.model.Multipart.FormData$.MODULE$.fromPath(name, (akka.http.scaladsl.model.ContentType) contentType, path, chunkSize); }
/** * Creates a FormData instance that contains a single part backed by the given file. * * To create an instance with several parts or for multiple files, use * `Multiparts.createFormDataFromParts(Multiparts.createFormDataPartFromPath("field1", ...), Multiparts.createFormDataPartFromPath("field2", ...)` */ public static Multipart.FormData createFormDataFromPath(String name, ContentType contentType, Path path, int chunkSize) { return akka.http.scaladsl.model.Multipart.FormData$.MODULE$.fromPath(name, (akka.http.scaladsl.model.ContentType) contentType, path, chunkSize); }
/** * Creates a FormData instance that contains a single part backed by the given file. * * To create an instance with several parts or for multiple files, use * `Multiparts.createFormDataFromParts(Multiparts.createFormDataPartFromPath("field1", ...), Multiparts.createFormDataPartFromPath("field2", ...)` */ public static Multipart.FormData createFormDataFromPath(String name, ContentType contentType, Path path) { return akka.http.scaladsl.model.Multipart.FormData$.MODULE$.fromPath(name, (akka.http.scaladsl.model.ContentType) contentType, path, -1); }
/** * Creates a FormData instance that contains a single part backed by the given file. * * To create an instance with several parts or for multiple files, use * `Multiparts.createFormDataFromParts(Multiparts.createFormDataPartFromPath("field1", ...), Multiparts.createFormDataPartFromPath("field2", ...)` */ public static Multipart.FormData createFormDataFromPath(String name, ContentType contentType, Path path) { return akka.http.scaladsl.model.Multipart.FormData$.MODULE$.fromPath(name, (akka.http.scaladsl.model.ContentType) contentType, path, -1); }
/** * Creates a FormData instance that contains a single part backed by the given file. * * To create an instance with several parts or for multiple files, use * `Multiparts.createFormDataFromParts(Multiparts.createFormDataPartFromPath("field1", ...), Multiparts.createFormDataPartFromPath("field2", ...)` */ public static Multipart.FormData createFormDataFromPath(String name, ContentType contentType, Path path) { return akka.http.scaladsl.model.Multipart.FormData$.MODULE$.fromPath(name, (akka.http.scaladsl.model.ContentType) contentType, path, -1); }
/** * Creates a FormData instance that contains a single part backed by the given file. * * To create an instance with several parts or for multiple files, use * `Multiparts.createFormDataFromParts(Multiparts.createFormDataPartFromPath("field1", ...), Multiparts.createFormDataPartFromPath("field2", ...)` */ public static Multipart.FormData createFormDataFromPath(String name, ContentType contentType, Path path, int chunkSize) { return akka.http.scaladsl.model.Multipart.FormData$.MODULE$.fromPath(name, (akka.http.scaladsl.model.ContentType) contentType, path, chunkSize); }