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() |
Long |
headerTableSize()
Returns the configured
SETTINGS_HEADER_TABLE_SIZE value or null. |
Integer |
initialWindowSize()
Returns the configured
SETTINGS_INITIAL_WINDOW_SIZE value or null. |
Long |
maxConcurrentStreams()
Returns the configured
SETTINGS_MAX_CONCURRENT_STREAMS value or null. |
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 . |
Long |
maxStreams()
Returns the configured
maxStreams value or null. |
Boolean |
pushEnabled()
Returns the configured
SETTINGS_ENABLE_PUSH value or null. |
public static Http2SettingsSpec.Builder builder()
Http2SettingsSpec
.Http2SettingsSpec.Builder
@Nullable public Long headerTableSize()
SETTINGS_HEADER_TABLE_SIZE
value or null.SETTINGS_HEADER_TABLE_SIZE
value or null@Nullable public Integer initialWindowSize()
SETTINGS_INITIAL_WINDOW_SIZE
value or null.SETTINGS_INITIAL_WINDOW_SIZE
value or null@Nullable public Long maxConcurrentStreams()
SETTINGS_MAX_CONCURRENT_STREAMS
value or null.SETTINGS_MAX_CONCURRENT_STREAMS
value or null@Nullable public 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
.@Nullable public Long maxStreams()
maxStreams
value or null.maxStreams
value or null@Nullable public Boolean pushEnabled()
SETTINGS_ENABLE_PUSH
value or null.SETTINGS_ENABLE_PUSH
value or null