|
|
|
@ -265,7 +265,7 @@ public class ServerProperties { |
|
|
|
/** |
|
|
|
/** |
|
|
|
* Whether to register the default Servlet with the container. |
|
|
|
* Whether to register the default Servlet with the container. |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
private boolean registerDefaultServlet = false; |
|
|
|
private boolean registerDefaultServlet; |
|
|
|
|
|
|
|
|
|
|
|
@NestedConfigurationProperty |
|
|
|
@NestedConfigurationProperty |
|
|
|
private final Encoding encoding = new Encoding(); |
|
|
|
private final Encoding encoding = new Encoding(); |
|
|
|
@ -726,7 +726,7 @@ public class ServerProperties { |
|
|
|
/** |
|
|
|
/** |
|
|
|
* Enable access log. |
|
|
|
* Enable access log. |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
private boolean enabled = false; |
|
|
|
private boolean enabled; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* Whether logging of the request will only be enabled if |
|
|
|
* Whether logging of the request will only be enabled if |
|
|
|
@ -777,7 +777,7 @@ public class ServerProperties { |
|
|
|
* Whether to check for log file existence so it can be recreated if an |
|
|
|
* Whether to check for log file existence so it can be recreated if an |
|
|
|
* external process has renamed it. |
|
|
|
* external process has renamed it. |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
private boolean checkExists = false; |
|
|
|
private boolean checkExists; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* Whether to enable access log rotation. |
|
|
|
* Whether to enable access log rotation. |
|
|
|
@ -788,7 +788,7 @@ public class ServerProperties { |
|
|
|
* Whether to defer inclusion of the date stamp in the file name until rotate |
|
|
|
* Whether to defer inclusion of the date stamp in the file name until rotate |
|
|
|
* time. |
|
|
|
* time. |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
private boolean renameOnRotate = false; |
|
|
|
private boolean renameOnRotate; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* Number of days to retain the access log files before they are removed. |
|
|
|
* Number of days to retain the access log files before they are removed. |
|
|
|
@ -803,13 +803,13 @@ public class ServerProperties { |
|
|
|
/** |
|
|
|
/** |
|
|
|
* Whether to use IPv6 canonical representation format as defined by RFC 5952. |
|
|
|
* Whether to use IPv6 canonical representation format as defined by RFC 5952. |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
private boolean ipv6Canonical = false; |
|
|
|
private boolean ipv6Canonical; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* Set request attributes for the IP address, Hostname, protocol, and port |
|
|
|
* Set request attributes for the IP address, Hostname, protocol, and port |
|
|
|
* used for the request. |
|
|
|
* used for the request. |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
private boolean requestAttributesEnabled = false; |
|
|
|
private boolean requestAttributesEnabled; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* Whether to buffer output such that it is flushed only periodically. |
|
|
|
* Whether to buffer output such that it is flushed only periodically. |
|
|
|
@ -1286,7 +1286,7 @@ public class ServerProperties { |
|
|
|
/** |
|
|
|
/** |
|
|
|
* Enable access log. |
|
|
|
* Enable access log. |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
private boolean enabled = false; |
|
|
|
private boolean enabled; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* Log format. |
|
|
|
* Log format. |
|
|
|
@ -1653,7 +1653,7 @@ public class ServerProperties { |
|
|
|
* application that requires it. Has no effect when server.undertow.decode-slash |
|
|
|
* application that requires it. Has no effect when server.undertow.decode-slash |
|
|
|
* is set. |
|
|
|
* is set. |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
private boolean allowEncodedSlash = false; |
|
|
|
private boolean allowEncodedSlash; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* Whether encoded slash characters (%2F) should be decoded. Decoding can cause |
|
|
|
* Whether encoded slash characters (%2F) should be decoded. Decoding can cause |
|
|
|
@ -1689,7 +1689,7 @@ public class ServerProperties { |
|
|
|
/** |
|
|
|
/** |
|
|
|
* Whether to preserve the path of a request when it is forwarded. |
|
|
|
* Whether to preserve the path of a request when it is forwarded. |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
private boolean preservePathOnForward = false; |
|
|
|
private boolean preservePathOnForward; |
|
|
|
|
|
|
|
|
|
|
|
private final Accesslog accesslog = new Accesslog(); |
|
|
|
private final Accesslog accesslog = new Accesslog(); |
|
|
|
|
|
|
|
|
|
|
|
@ -1835,7 +1835,7 @@ public class ServerProperties { |
|
|
|
/** |
|
|
|
/** |
|
|
|
* Whether to enable the access log. |
|
|
|
* Whether to enable the access log. |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
private boolean enabled = false; |
|
|
|
private boolean enabled; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* Format pattern for access logs. |
|
|
|
* Format pattern for access logs. |
|
|
|
|