Module io.helidon.media.multipart
Package io.helidon.media.multipart
Class ReadableBodyPartHeaders.Builder
java.lang.Object
io.helidon.media.multipart.ReadableBodyPartHeaders.Builder
- All Implemented Interfaces:
Builder<ReadableBodyPartHeaders.Builder,
,ReadableBodyPartHeaders> Supplier<ReadableBodyPartHeaders>
- Enclosing class:
- ReadableBodyPartHeaders
public static final class ReadableBodyPartHeaders.Builder
extends Object
implements Builder<ReadableBodyPartHeaders.Builder,ReadableBodyPartHeaders>
Builder class to create
ReadableBodyPartHeaders
instances.-
Method Details
-
header
Add a new header.- Parameters:
name
- header namevalue
- header value- Returns:
- this builder
-
header
Add a new header.- Parameters:
name
- header namevalues
- header values- Returns:
- this builder
-
headers
Add new headers.- Parameters:
headers
- headers map- Returns:
- this builder
-
build
Description copied from interface:Builder
Build the instance from this builder.- Specified by:
build
in interfaceBuilder<ReadableBodyPartHeaders.Builder,
ReadableBodyPartHeaders> - Returns:
- instance of the built type
-