uniformed xml configuration attributes, added max-request-size parameter

This commit is contained in:
2025-01-20 08:24:44 +08:00
parent 007d0fffd6
commit fa5bb55baa
13 changed files with 57 additions and 48 deletions

View File

@@ -21,6 +21,7 @@ public class Configuration {
Authentication authentication;
Tls tls;
boolean useVirtualThread;
int maxRequestSize;
@Value
public static class Group {
@@ -107,7 +108,8 @@ public class Configuration {
Cache cache,
Authentication authentication,
Tls tls,
boolean useVirtualThread
boolean useVirtualThread,
int maxRequestSize
) {
return new Configuration(
host,
@@ -118,7 +120,8 @@ public class Configuration {
cache,
authentication,
tls,
useVirtualThread
useVirtualThread,
maxRequestSize
);
}
}