- java.lang.Object
-
- io.helidon.common.http.FormParams.Builder
-
- All Implemented Interfaces:
Builder<FormParams>
,FormBuilder<FormParams.Builder,FormParams>
,Supplier<FormParams>
- Enclosing interface:
- FormParams
public static class FormParams.Builder extends Object implements FormBuilder<FormParams.Builder,FormParams>
Builder of a newFormParams
instance.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FormParams.Builder
add(String name, String... values)
Add a new values to specific content disposition name.FormParams
build()
Build the instance from this builder.
-
-
-
Method Detail
-
build
public FormParams build()
Description copied from interface:Builder
Build the instance from this builder.- Specified by:
build
in interfaceBuilder<FormParams>
- Returns:
- instance of the built type
-
add
public FormParams.Builder add(String name, String... values)
Description copied from interface:FormBuilder
Add a new values to specific content disposition name.- Specified by:
add
in interfaceFormBuilder<FormParams.Builder,FormParams>
- Parameters:
name
- param namevalues
- param values- Returns:
- updated builder instance
-
-