Package io.quarkus.vertx.http.runtime
Class ServerLimitsConfig
- java.lang.Object
-
- io.quarkus.vertx.http.runtime.ServerLimitsConfig
-
public class ServerLimitsConfig extends Object
-
-
Field Summary
Fields Modifier and Type Field Description Optional<MemorySize>
maxBodySize
The maximum size of a request body.MemorySize
maxChunkSize
The max HTTP chunk sizeOptionalInt
maxConnections
The maximum number of connections that are allowed at any one time.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 Summary
Constructors Constructor Description ServerLimitsConfig()
-
-
-
Field Detail
-
maxHeaderSize
@ConfigItem(defaultValue="20K") public MemorySize maxHeaderSize
The maximum length of all headers.
-
maxBodySize
@ConfigItem(defaultValue="10240K") public Optional<MemorySize> maxBodySize
The maximum size of a request body.
-
maxChunkSize
@ConfigItem(defaultValue="8192") public MemorySize maxChunkSize
The max HTTP chunk size
-
maxInitialLineLength
@ConfigItem(defaultValue="4096") public int maxInitialLineLength
The maximum length of the initial line (e.g."GET / HTTP/1.0"
).
-
maxFormAttributeSize
@ConfigItem(defaultValue="2048") public MemorySize maxFormAttributeSize
The maximum length of a form attribute.
-
maxConnections
@ConfigItem public OptionalInt maxConnections
The maximum number of connections that are allowed at any one time. If this is set it is recommended to set a short idle timeout.
-
-