Class Http2Settings.Builder
java.lang.Object
io.helidon.http.http2.Http2Settings.Builder
- All Implemented Interfaces:
Builder<Http2Settings.Builder, Http2Settings>, Supplier<Http2Settings>
- Enclosing class:
Http2Settings
public static class Http2Settings.Builder
extends Object
implements Builder<Http2Settings.Builder, Http2Settings>
Fluent API builder for
Http2Settings.-
Method Summary
Modifier and TypeMethodDescriptionadd(Http2Setting<T> settingType, T settingValue) Add a setting to these settings.build()Build the instance from this builder.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Builder
get, identity, updateModifier and TypeMethodDescriptiondefault Http2Settingsget()default Http2Settings.Builderidentity()Instance of this builder as the correct type.default Http2Settings.Builderupdate(Consumer<Http2Settings.Builder> consumer) Update the builder in a fluent API way.
-
Method Details
-
build
Description copied from interface:BuilderBuild the instance from this builder.- Specified by:
buildin interfaceBuilder<Http2Settings.Builder, Http2Settings>- Returns:
- instance of the built type
-
add
Add a setting to these settings.- Type Parameters:
T- value type- Parameters:
settingType- type of settingsettingValue- value of setting- Returns:
- updated builder
-