Class ServerProperties.Netty
java.lang.Object
org.springframework.boot.autoconfigure.web.ServerProperties.Netty
- Enclosing class:
- ServerProperties
Netty properties.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.boolean
void
setConnectionTimeout
(Duration connectionTimeout) void
setH2cMaxContentLength
(DataSize h2cMaxContentLength) void
setIdleTimeout
(Duration idleTimeout) void
setInitialBufferSize
(DataSize initialBufferSize) void
setMaxChunkSize
(DataSize maxChunkSize) Deprecated, for removal: This API element is subject to removal in a future version.void
setMaxInitialLineLength
(DataSize maxInitialLineLength) void
setMaxKeepAliveRequests
(Integer maxKeepAliveRequests) void
setValidateHeaders
(boolean validateHeaders)
-
Constructor Details
-
Netty
public Netty()
-
-
Method Details
-
getConnectionTimeout
-
setConnectionTimeout
-
getH2cMaxContentLength
-
setH2cMaxContentLength
-
getInitialBufferSize
-
setInitialBufferSize
-
getMaxChunkSize
@Deprecated(since="3.0.0", forRemoval=true) @DeprecatedConfigurationProperty(reason="Deprecated for removal in Reactor Netty") public DataSize getMaxChunkSize()Deprecated, for removal: This API element is subject to removal in a future version. -
setMaxChunkSize
Deprecated, for removal: This API element is subject to removal in a future version. -
getMaxInitialLineLength
-
setMaxInitialLineLength
-
getMaxKeepAliveRequests
-
setMaxKeepAliveRequests
-
isValidateHeaders
public boolean isValidateHeaders() -
setValidateHeaders
public void setValidateHeaders(boolean validateHeaders) -
getIdleTimeout
-
setIdleTimeout
-