Class ServerProperties.Netty
java.lang.Object
org.springframework.boot.autoconfigure.web.ServerProperties.Netty
- Enclosing class:
- ServerProperties
Netty properties.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
void
setConnectionTimeout
(Duration connectionTimeout) void
setH2cMaxContentLength
(DataSize h2cMaxContentLength) void
setIdleTimeout
(Duration idleTimeout) void
setInitialBufferSize
(DataSize initialBufferSize) void
setMaxChunkSize
(DataSize maxChunkSize) 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
-
setMaxChunkSize
-
getMaxInitialLineLength
-
setMaxInitialLineLength
-
getMaxKeepAliveRequests
-
setMaxKeepAliveRequests
-
isValidateHeaders
public boolean isValidateHeaders() -
setValidateHeaders
public void setValidateHeaders(boolean validateHeaders) -
getIdleTimeout
-
setIdleTimeout
-