@ConfigurationProperties(value="http2") public static class NettyHttpServerConfiguration.Http2Settings extends java.lang.Object
Constructor and Description |
---|
Http2Settings() |
Modifier and Type | Method and Description |
---|---|
java.lang.Long |
getHeaderTableSize()
Gets the
SETTINGS_HEADER_TABLE_SIZE value. |
java.lang.Integer |
getInitialWindowSize()
Gets the
SETTINGS_INITIAL_WINDOW_SIZE value. |
java.lang.Long |
getMaxConcurrentStreams()
Gets the
SETTINGS_MAX_CONCURRENT_STREAMS value. |
java.lang.Integer |
getMaxFrameSize()
Gets the
SETTINGS_MAX_FRAME_SIZE value. |
java.lang.Long |
getMaxHeaderListSize()
Gets the
SETTINGS_MAX_HEADER_LIST_SIZE value. |
java.lang.Boolean |
getPushEnabled()
Gets the
SETTINGS_ENABLE_PUSH value. |
io.netty.handler.codec.http2.Http2Settings |
http2Settings()
Returns netty's http2 settings.
|
void |
setHeaderTableSize(java.lang.Long value)
Sets the
SETTINGS_HEADER_TABLE_SIZE value. |
void |
setInitialWindowSize(java.lang.Integer value)
Sets the
SETTINGS_INITIAL_WINDOW_SIZE value. |
void |
setMaxConcurrentStreams(java.lang.Long value)
Sets the
SETTINGS_MAX_CONCURRENT_STREAMS value. |
void |
setMaxFrameSize(java.lang.Integer value)
Sets the
SETTINGS_MAX_FRAME_SIZE value. |
void |
setMaxHeaderListSize(java.lang.Long value)
Sets the
SETTINGS_MAX_HEADER_LIST_SIZE value. |
void |
setPushEnabled(java.lang.Boolean enabled)
Sets the
SETTINGS_ENABLE_PUSH value. |
public io.netty.handler.codec.http2.Http2Settings http2Settings()
public java.lang.Long getHeaderTableSize()
SETTINGS_HEADER_TABLE_SIZE
value. If unavailable, returns null
.null
.public void setHeaderTableSize(java.lang.Long value)
SETTINGS_HEADER_TABLE_SIZE
value.value
- The header table size.java.lang.IllegalArgumentException
- if verification of the setting fails.public java.lang.Boolean getPushEnabled()
SETTINGS_ENABLE_PUSH
value. If unavailable, returns null
.SETTINGS_ENABLE_PUSH
value. If unavailable, returns null
.public void setPushEnabled(java.lang.Boolean enabled)
SETTINGS_ENABLE_PUSH
value.enabled
- The SETTINGS_ENABLE_PUSH
value.public java.lang.Long getMaxConcurrentStreams()
SETTINGS_MAX_CONCURRENT_STREAMS
value. If unavailable, returns null
.SETTINGS_MAX_CONCURRENT_STREAMS
value. If unavailable, returns null
.public void setMaxConcurrentStreams(java.lang.Long value)
SETTINGS_MAX_CONCURRENT_STREAMS
value.value
- The SETTINGS_MAX_CONCURRENT_STREAMS
value.java.lang.IllegalArgumentException
- if verification of the setting fails.public java.lang.Integer getInitialWindowSize()
SETTINGS_INITIAL_WINDOW_SIZE
value. If unavailable, returns null
.SETTINGS_INITIAL_WINDOW_SIZE
value. If unavailable, returns null
.public void setInitialWindowSize(java.lang.Integer value)
SETTINGS_INITIAL_WINDOW_SIZE
value.value
- The SETTINGS_INITIAL_WINDOW_SIZE
value.java.lang.IllegalArgumentException
- if verification of the setting fails.public java.lang.Integer getMaxFrameSize()
SETTINGS_MAX_FRAME_SIZE
value. If unavailable, returns null
.SETTINGS_MAX_FRAME_SIZE
value. If unavailable, returns null
.public void setMaxFrameSize(java.lang.Integer value)
SETTINGS_MAX_FRAME_SIZE
value.value
- The SETTINGS_MAX_FRAME_SIZE
value.java.lang.IllegalArgumentException
- if verification of the setting fails.public java.lang.Long getMaxHeaderListSize()
SETTINGS_MAX_HEADER_LIST_SIZE
value. If unavailable, returns null
.SETTINGS_MAX_HEADER_LIST_SIZE
value. If unavailable, returns null
.public void setMaxHeaderListSize(java.lang.Long value)
SETTINGS_MAX_HEADER_LIST_SIZE
value.value
- The SETTINGS_MAX_HEADER_LIST_SIZE
value.java.lang.IllegalArgumentException
- if verification of the setting fails.