java.lang.Object
io.helidon.media.multipart.FileFormParams.Builder
- All Implemented Interfaces:
io.helidon.common.Builder<FormBuilder<FileFormParams.Builder,,FileFormParams>, FileFormParams> FormBuilder<FileFormParams.Builder,,FileFormParams> Supplier<FileFormParams>
- Enclosing interface:
- FileFormParams
public static class FileFormParams.Builder
extends Object
implements FormBuilder<FileFormParams.Builder,FileFormParams>
Fluent API builder of
FileFormParams.-
Method Summary
Modifier and TypeMethodDescriptionAdd file with specific name and filename to the form.Add files with specific name to the form.build()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.helidon.common.Builder
get, identity, update
-
Method Details
-
build
- Specified by:
buildin interfaceio.helidon.common.Builder<FormBuilder<FileFormParams.Builder,FileFormParams>, FileFormParams>
-
add
- Specified by:
addin interfaceFormBuilder<FileFormParams.Builder,FileFormParams>
-
addFile
Add file with specific name and filename to the form.- Parameters:
name- content disposition namefileName- content disposition filenamefile- file path- Returns:
- update builder instance
-
addFile
Add files with specific name to the form. Filename parameter is based on an actual name of the file.- Parameters:
name- content disposition namefiles- files- Returns:
- update builder instance
-