Package io.servicetalk.http.api
Interface Http2Settings
public interface Http2Settings
Object representing a HTTP/2 Setting frame.
-
Method Summary
Modifier and TypeMethodDescriptionvoidforEach(BiConsumer<? super Character, ? super Long> action) Iterate over all the <identifier, value> tuple in this settings object.Get the value for SETTINGS_HEADER_TABLE_SIZE.Get the value for SETTINGS_INITIAL_WINDOW_SIZE.Get the value for SETTINGS_MAX_CONCURRENT_STREAMS.Get the value for SETTINGS_MAX_FRAME_SIZE.Get the value for SETTINGS_MAX_HEADER_LIST_SIZE.settingValue(char identifier) Get the setting value associated with an identifier.
-
Method Details
-
headerTableSize
Get the value for SETTINGS_HEADER_TABLE_SIZE.- Returns:
- the value for SETTINGS_HEADER_TABLE_SIZE.
-
maxConcurrentStreams
Get the value for SETTINGS_MAX_CONCURRENT_STREAMS.- Returns:
- the value for SETTINGS_MAX_CONCURRENT_STREAMS.
-
initialWindowSize
Get the value for SETTINGS_INITIAL_WINDOW_SIZE.- Returns:
- the value for SETTINGS_INITIAL_WINDOW_SIZE.
-
maxFrameSize
Get the value for SETTINGS_MAX_FRAME_SIZE.- Returns:
- the value for SETTINGS_MAX_FRAME_SIZE.
-
maxHeaderListSize
Get the value for SETTINGS_MAX_HEADER_LIST_SIZE.- Returns:
- the value for SETTINGS_MAX_HEADER_LIST_SIZE.
-
settingValue
Get the setting value associated with an identifier.- Parameters:
identifier- the identifier.- Returns:
nullif no setting value correspondingidentifierexists, otherwise the value.
-
forEach
Iterate over all the <identifier, value> tuple in this settings object.- Parameters:
action- Invoked on each <identifier, value> tuple.
-