Class Http2SettingsSpec

java.lang.Object
reactor.netty.http.Http2SettingsSpec

public final class Http2SettingsSpec extends Object
A configuration builder to fine tune the Http2Settings.
Since:
1.0.0
Author:
Violeta Georgieva
  • Method Details

    • builder

      public static Http2SettingsSpec.Builder builder()
      Creates a builder for Http2SettingsSpec.
      Returns:
      a new Http2SettingsSpec.Builder
    • connectProtocolEnabled

      @Nullable public Boolean connectProtocolEnabled()
      Returns the configured SETTINGS_ENABLE_CONNECT_PROTOCOL value or null.
      Returns:
      the configured SETTINGS_ENABLE_CONNECT_PROTOCOL value or null
      Since:
      1.2.5
    • headerTableSize

      @Nullable public Long headerTableSize()
      Returns the configured SETTINGS_HEADER_TABLE_SIZE value or null.
      Returns:
      the configured SETTINGS_HEADER_TABLE_SIZE value or null
    • initialWindowSize

      @Nullable public Integer initialWindowSize()
      Returns the configured SETTINGS_INITIAL_WINDOW_SIZE value or null.
      Returns:
      the configured SETTINGS_INITIAL_WINDOW_SIZE value or null
    • maxConcurrentStreams

      @Nullable public Long maxConcurrentStreams()
      Returns the configured SETTINGS_MAX_CONCURRENT_STREAMS value or null.
      Returns:
      the configured SETTINGS_MAX_CONCURRENT_STREAMS value or null
    • maxDecodedRstFramesPerWindow

      @Nullable public Integer maxDecodedRstFramesPerWindow()
      Returns the configured maximum number RST frames that are allowed per window or null.
      Returns:
      the configured maximum number RST frames that are allowed per window or null
      Since:
      1.2.11
    • maxDecodedRstFramesSecondsPerWindow

      @Nullable public Integer maxDecodedRstFramesSecondsPerWindow()
      Returns the configured maximum seconds per window or null.
      Returns:
      the configured maximum seconds per window or null
      Since:
      1.2.11
    • maxEncodedRstFramesPerWindow

      @Nullable public Integer maxEncodedRstFramesPerWindow()
      Returns the configured maximum number RST frames that are allowed per window or null.
      Returns:
      the configured maximum number RST frames that are allowed per window or null
      Since:
      1.2.11
    • maxEncodedRstFramesSecondsPerWindow

      @Nullable public Integer maxEncodedRstFramesSecondsPerWindow()
      Returns the configured maximum seconds per window or null.
      Returns:
      the configured maximum seconds per window or null
      Since:
      1.2.11
    • maxFrameSize

      @Nullable public Integer maxFrameSize()
      Returns the configured SETTINGS_MAX_FRAME_SIZE value or null.
      Returns:
      the configured SETTINGS_MAX_FRAME_SIZE value or null
    • maxHeaderListSize

      public Long maxHeaderListSize()
      Returns the configured SETTINGS_MAX_HEADER_LIST_SIZE value or the default Http2CodecUtil.DEFAULT_HEADER_LIST_SIZE.
      Returns:
      the configured SETTINGS_MAX_HEADER_LIST_SIZE value or the default Http2CodecUtil.DEFAULT_HEADER_LIST_SIZE.
    • maxStreams

      @Nullable public Long maxStreams()
      Returns the configured maxStreams value or null.
      Returns:
      the configured maxStreams value or null
      Since:
      1.0.33
    • pingAckDropThreshold

      public Integer pingAckDropThreshold()
      Returns the configured pingAckDropThreshold value.
      Returns:
      the configured pingAckDropThreshold value
      Since:
      1.2.12
    • pingAckTimeout

      @Nullable public Duration pingAckTimeout()
      Returns the configured pingAckTimeout value or null.
      Returns:
      the configured pingAckTimeout value or null
      Since:
      1.2.12
    • pushEnabled

      @Nullable public Boolean pushEnabled()
      Returns the configured SETTINGS_ENABLE_PUSH value or null.
      Returns:
      the configured SETTINGS_ENABLE_PUSH value or null
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object