public final class Http2SettingsSpec extends Object
Http2Settings
.Modifier and Type | Class and Description |
---|---|
static interface |
Http2SettingsSpec.Builder |
Modifier and Type | Method and Description |
---|---|
static Http2SettingsSpec.Builder |
builder()
Creates a builder for
Http2SettingsSpec . |
boolean |
equals(Object o) |
int |
hashCode() |
@Nullable Long |
headerTableSize()
Returns the configured
SETTINGS_HEADER_TABLE_SIZE value or null. |
@Nullable Integer |
initialWindowSize()
Returns the configured
SETTINGS_INITIAL_WINDOW_SIZE value or null. |
@Nullable Long |
maxConcurrentStreams()
Returns the configured
SETTINGS_MAX_CONCURRENT_STREAMS value or null. |
@Nullable Integer |
maxFrameSize()
Returns the configured
SETTINGS_MAX_FRAME_SIZE value or null. |
Long |
maxHeaderListSize()
Returns the configured
SETTINGS_MAX_HEADER_LIST_SIZE value or
the default Http2CodecUtil.DEFAULT_HEADER_LIST_SIZE . |
@Nullable Long |
maxStreams()
Returns the configured
maxStreams value or null. |
@Nullable Boolean |
pushEnabled()
Returns the configured
SETTINGS_ENABLE_PUSH value or null. |
public static Http2SettingsSpec.Builder builder()
Http2SettingsSpec
.Http2SettingsSpec.Builder
public @Nullable Long headerTableSize()
SETTINGS_HEADER_TABLE_SIZE
value or null.SETTINGS_HEADER_TABLE_SIZE
value or nullpublic @Nullable Integer initialWindowSize()
SETTINGS_INITIAL_WINDOW_SIZE
value or null.SETTINGS_INITIAL_WINDOW_SIZE
value or nullpublic @Nullable Long maxConcurrentStreams()
SETTINGS_MAX_CONCURRENT_STREAMS
value or null.SETTINGS_MAX_CONCURRENT_STREAMS
value or nullpublic @Nullable Integer maxFrameSize()
SETTINGS_MAX_FRAME_SIZE
value or null.SETTINGS_MAX_FRAME_SIZE
value or nullpublic Long maxHeaderListSize()
SETTINGS_MAX_HEADER_LIST_SIZE
value or
the default Http2CodecUtil.DEFAULT_HEADER_LIST_SIZE
.SETTINGS_MAX_HEADER_LIST_SIZE
value or
the default Http2CodecUtil.DEFAULT_HEADER_LIST_SIZE
.public @Nullable Long maxStreams()
maxStreams
value or null.maxStreams
value or nullpublic @Nullable Boolean pushEnabled()
SETTINGS_ENABLE_PUSH
value or null.SETTINGS_ENABLE_PUSH
value or null