From fb39fc450ebb374a62694927478b7bed7b554013 Mon Sep 17 00:00:00 2001 From: Maksym Ostroverkhov Date: Wed, 2 Sep 2020 22:12:35 +0300 Subject: [PATCH] Http2ConnectionHandlerBuilder: make initialSettings() public (#10526) Motivation: be able to modify Http2Settings of Http2ConnectionHandlerBuilder. Modifications: make initialSettings() of Http2ConnectionHandlerBuilder public. Result: public initialSettings() of Http2ConnectionHandlerBuilder allow Http2Settings modification. --- .../handler/codec/http2/Http2ConnectionHandlerBuilder.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/codec-http2/src/main/java/io/netty/handler/codec/http2/Http2ConnectionHandlerBuilder.java b/codec-http2/src/main/java/io/netty/handler/codec/http2/Http2ConnectionHandlerBuilder.java index c6d1ce7505..f6ffd1d4a0 100644 --- a/codec-http2/src/main/java/io/netty/handler/codec/http2/Http2ConnectionHandlerBuilder.java +++ b/codec-http2/src/main/java/io/netty/handler/codec/http2/Http2ConnectionHandlerBuilder.java @@ -36,6 +36,11 @@ public final class Http2ConnectionHandlerBuilder return super.initialSettings(settings); } + @Override + public Http2Settings initialSettings() { + return super.initialSettings(); + } + @Override public Http2ConnectionHandlerBuilder frameListener(Http2FrameListener frameListener) { return super.frameListener(frameListener);