code: public void updateSettings(FrameSettings settings) {
          if (settings.getHeaderTableSize() != -1) {
              headerTableSize = settings.getHeaderTableSize();
          }
          if (settings.getEnablePush() != -1) {
              enablePush = settings.getEnablePush();
          }
          if (settings.getMaxConcurrentStreams() != -1) {
              maxConcurrentStreams = settings.getMaxConcurrentStreams();
          }
          if (settings.getInitialWindowSize() != -1) {
              initialWindowSize = settings.getInitialWindowSize();
          }
          if (settings.getMaxFrameSize() != -1) {
              maxFrameSize = settings.getMaxFrameSize();
          }
          if (settings.getMaxHeaderListSize() != -1) {
              this.maxHeaderListSize = settings.getMaxHeaderListSize();
          }
      }
docs: Apply the http2 connection settings contained in a settings frame to this http2 connection