Class ServerProperties.Netty
java.lang.Object
org.springframework.boot.autoconfigure.web.ServerProperties.Netty
- Enclosing class:
- ServerProperties
Netty properties.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.booleanvoidsetConnectionTimeout(Duration connectionTimeout) voidsetH2cMaxContentLength(DataSize h2cMaxContentLength) voidsetIdleTimeout(Duration idleTimeout) voidsetInitialBufferSize(DataSize initialBufferSize) voidsetMaxChunkSize(DataSize maxChunkSize) Deprecated, for removal: This API element is subject to removal in a future version.voidsetMaxInitialLineLength(DataSize maxInitialLineLength) voidsetMaxKeepAliveRequests(Integer maxKeepAliveRequests) voidsetValidateHeaders(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
-