Class Http2Configuration.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • enable

        public Http2Configuration.Builder enable​(boolean enableHttp2)
        Sets value to enable HTTP/2 support.
        Parameters:
        enableHttp2 - New value.
        Returns:
        an updated builder
      • maxContentLength

        public Http2Configuration.Builder maxContentLength​(int http2MaxContentLength)
        Sets max content length for HTTP/2.
        Parameters:
        http2MaxContentLength - New value for max content length.
        Returns:
        an updated builder