Package io.helidon.webserver
Interface Http2Configuration
-
public interface Http2ConfigurationInterface Http2Configuration.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classHttp2Configuration.BuilderBuilder forHttp2Configuration.
-
Field Summary
Fields Modifier and Type Field Description static intDEFAULT_MAX_CONTENT_LENGTHDefault value for max content length.
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static Http2Configuration.Builderbuilder()Create a new fluent API builder.booleanenable()Config property to enable HTTP/2 support.intmaxContentLength()Default HTTP/2 content length.
-
-
-
Field Detail
-
DEFAULT_MAX_CONTENT_LENGTH
static final int DEFAULT_MAX_CONTENT_LENGTH
Default value for max content length.- See Also:
- Constant Field Values
-
-
Method Detail
-
enable
boolean enable()
Config property to enable HTTP/2 support.- Returns:
- Value of property.
-
maxContentLength
int maxContentLength()
Default HTTP/2 content length. Streaming is currently not supported for HTTP/2, so this is largest payload acceptable.- Returns:
- Max HTTP/2 buffer size.
-
builder
static Http2Configuration.Builder builder()
Create a new fluent API builder.- Returns:
- a new builder instance.
-
-