Package io.helidon.webserver
Class ExperimentalConfiguration.Builder
- java.lang.Object
-
- io.helidon.webserver.ExperimentalConfiguration.Builder
-
- All Implemented Interfaces:
Builder<ExperimentalConfiguration>
,Supplier<ExperimentalConfiguration>
- Enclosing interface:
- ExperimentalConfiguration
public static final class ExperimentalConfiguration.Builder extends Object implements Builder<ExperimentalConfiguration>
Builder forExperimentalConfiguration
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Deprecated.useExperimentalConfiguration.builder()
instead.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExperimentalConfiguration
build()
Build the instance from this builder.ExperimentalConfiguration.Builder
http2(Http2Configuration http2)
Sets value for HTTP/2 configuration.
-
-
-
Constructor Detail
-
Builder
@Deprecated public Builder()
Deprecated.useExperimentalConfiguration.builder()
instead.Do not use this constructor. Will be changed toprivate
in next release.
-
-
Method Detail
-
http2
public ExperimentalConfiguration.Builder http2(Http2Configuration http2)
Sets value for HTTP/2 configuration.- Parameters:
http2
- HTTP/2 configuration.- Returns:
- The builder.
-
build
public ExperimentalConfiguration build()
Description copied from interface:Builder
Build the instance from this builder.- Specified by:
build
in interfaceBuilder<ExperimentalConfiguration>
- Returns:
- instance of the built type
-
-