public class ServerLimitsConfig extends Object
| Modifier and Type | Field and Description |
|---|---|
Optional<MemorySize> |
maxBodySize
The maximum size of a request body.
|
MemorySize |
maxChunkSize
The max HTTP chunk size
|
MemorySize |
maxFormAttributeSize
The maximum length of a form attribute.
|
MemorySize |
maxHeaderSize
The maximum length of all headers.
|
int |
maxInitialLineLength
The maximum length of the initial line (e.g.
|
| Constructor and Description |
|---|
ServerLimitsConfig() |
@ConfigItem(defaultValue="20K") public MemorySize maxHeaderSize
@ConfigItem(defaultValue="10240K") public Optional<MemorySize> maxBodySize
@ConfigItem(defaultValue="8192") public MemorySize maxChunkSize
@ConfigItem(defaultValue="4096") public int maxInitialLineLength
"GET / HTTP/1.0").@ConfigItem(defaultValue="2048") public MemorySize maxFormAttributeSize
Copyright © 2021 JBoss by Red Hat. All rights reserved.