Interface Http2Configuration


  • public interface Http2Configuration
    Interface Http2Configuration.
    • 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.