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

      public @Nullable 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

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

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

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

      public @Nullable 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

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

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

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

      public int hashCode()
      Overrides:
      hashCode in class Object