java.lang.Object
io.helidon.webserver.Http2Configuration.Builder
- All Implemented Interfaces:
Builder<Http2Configuration.Builder,,Http2Configuration> Supplier<Http2Configuration>
- Enclosing interface:
- Http2Configuration
public static final class Http2Configuration.Builder
extends Object
implements Builder<Http2Configuration.Builder,Http2Configuration>
Builder for
Http2Configuration.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build the instance from this builder.enable(boolean enableHttp2) Sets value to enable HTTP/2 support.maxContentLength(int http2MaxContentLength) Sets max content length for HTTP/2.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
enable
Sets value to enable HTTP/2 support.- Parameters:
enableHttp2- New value.- Returns:
- an updated builder
-
maxContentLength
Sets max content length for HTTP/2.- Parameters:
http2MaxContentLength- New value for max content length.- Returns:
- an updated builder
-
build
Description copied from interface:BuilderBuild the instance from this builder.- Specified by:
buildin interfaceBuilder<Http2Configuration.Builder,Http2Configuration> - Returns:
- instance of the built type
-