-
public interface Http2Configuration
Interface Http2Configuration.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
Http2Configuration.Builder
Builder forHttp2Configuration
.
-
Field Summary
Fields Modifier and Type Field Description static int
DEFAULT_MAX_CONTENT_LENGTH
Default value for max content length.
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static Http2Configuration.Builder
builder()
Create a new fluent API builder.boolean
enable()
Config property to enable HTTP/2 support.int
maxContentLength()
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.
-
-