@ConfigurationProperties(value="http2") public static class NettyHttpServerConfiguration.Http2Settings extends Object
Constructor and Description |
---|
Http2Settings() |
Modifier and Type | Method and Description |
---|---|
Long |
getHeaderTableSize()
Gets the
SETTINGS_HEADER_TABLE_SIZE value. |
Integer |
getInitialWindowSize()
Gets the
SETTINGS_INITIAL_WINDOW_SIZE value. |
Long |
getMaxConcurrentStreams()
Gets the
SETTINGS_MAX_CONCURRENT_STREAMS value. |
Integer |
getMaxFrameSize()
Gets the
SETTINGS_MAX_FRAME_SIZE value. |
Long |
getMaxHeaderListSize()
Gets the
SETTINGS_MAX_HEADER_LIST_SIZE value. |
Boolean |
getPushEnabled()
Deprecated.
The
SETTINGS_ENABLE_PUSH setting makes no sense when sent by the
server, and clients must reject any setting except false (the default) according
to the spec. |
io.netty.handler.codec.http2.Http2Settings |
http2Settings()
Returns netty's http2 settings.
|
void |
setHeaderTableSize(Long value)
Sets the
SETTINGS_HEADER_TABLE_SIZE value. |
void |
setInitialWindowSize(Integer value)
Sets the
SETTINGS_INITIAL_WINDOW_SIZE value. |
void |
setMaxConcurrentStreams(Long value)
Sets the
SETTINGS_MAX_CONCURRENT_STREAMS value. |
void |
setMaxFrameSize(Integer value)
Sets the
SETTINGS_MAX_FRAME_SIZE value. |
void |
setMaxHeaderListSize(Long value)
Sets the
SETTINGS_MAX_HEADER_LIST_SIZE value. |
void |
setPushEnabled(Boolean enabled)
Deprecated.
The
SETTINGS_ENABLE_PUSH setting makes no sense when sent by the
server, and clients must reject any setting except false (the default) according
to the spec. Netty will refuse to write this setting altogether. To prevent this, this
setter now does nothing and will be removed in a future release. |
public io.netty.handler.codec.http2.Http2Settings http2Settings()
public Long getHeaderTableSize()
SETTINGS_HEADER_TABLE_SIZE
value. If unavailable, returns null
.null
.public void setHeaderTableSize(Long value)
SETTINGS_HEADER_TABLE_SIZE
value.value
- The header table size.IllegalArgumentException
- if verification of the setting fails.@Deprecated public Boolean getPushEnabled()
SETTINGS_ENABLE_PUSH
setting makes no sense when sent by the
server, and clients must reject any setting except false
(the default) according
to the spec.SETTINGS_ENABLE_PUSH
value. If unavailable, returns null
.SETTINGS_ENABLE_PUSH
value. If unavailable, returns null
.@Deprecated public void setPushEnabled(Boolean enabled)
SETTINGS_ENABLE_PUSH
setting makes no sense when sent by the
server, and clients must reject any setting except false
(the default) according
to the spec. Netty will refuse to write this setting altogether. To prevent this, this
setter now does nothing and will be removed in a future release.enabled
- The SETTINGS_ENABLE_PUSH
value.public Long getMaxConcurrentStreams()
SETTINGS_MAX_CONCURRENT_STREAMS
value. If unavailable, returns null
.SETTINGS_MAX_CONCURRENT_STREAMS
value. If unavailable, returns null
.public void setMaxConcurrentStreams(Long value)
SETTINGS_MAX_CONCURRENT_STREAMS
value.value
- The SETTINGS_MAX_CONCURRENT_STREAMS
value.IllegalArgumentException
- if verification of the setting fails.public Integer getInitialWindowSize()
SETTINGS_INITIAL_WINDOW_SIZE
value. If unavailable, returns null
.SETTINGS_INITIAL_WINDOW_SIZE
value. If unavailable, returns null
.public void setInitialWindowSize(Integer value)
SETTINGS_INITIAL_WINDOW_SIZE
value.value
- The SETTINGS_INITIAL_WINDOW_SIZE
value.IllegalArgumentException
- if verification of the setting fails.public Integer getMaxFrameSize()
SETTINGS_MAX_FRAME_SIZE
value. If unavailable, returns null
.SETTINGS_MAX_FRAME_SIZE
value. If unavailable, returns null
.public void setMaxFrameSize(Integer value)
SETTINGS_MAX_FRAME_SIZE
value.value
- The SETTINGS_MAX_FRAME_SIZE
value.IllegalArgumentException
- if verification of the setting fails.public 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(Long value)
SETTINGS_MAX_HEADER_LIST_SIZE
value.value
- The SETTINGS_MAX_HEADER_LIST_SIZE
value.IllegalArgumentException
- if verification of the setting fails.