public interface Http2Configuration
Interface Http2Configuration.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intDefault value for max content length. -
Method Summary
Modifier and TypeMethodDescriptionstatic Http2Configuration.Builderbuilder()Create a new fluent API builder.booleanenable()Config property to enable HTTP/2 support.intDefault HTTP/2 content length.
-
Field Details
-
DEFAULT_MAX_CONTENT_LENGTH
static final int DEFAULT_MAX_CONTENT_LENGTHDefault value for max content length.- See Also:
-
-
Method Details
-
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
Create a new fluent API builder.- Returns:
- a new builder instance.
-