Interface Http2Configuration


public interface Http2Configuration
Interface Http2Configuration.
  • Field Details

    • DEFAULT_MAX_CONTENT_LENGTH

      static final int DEFAULT_MAX_CONTENT_LENGTH
      Default 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

      static Http2Configuration.Builder builder()
      Create a new fluent API builder.
      Returns:
      a new builder instance.