Class LogbackAccessProperties.Tomcat
-
- All Implemented Interfaces:
public final class LogbackAccessProperties.TomcatThe properties for the Tomcat web server.
-
-
Field Summary
Fields Modifier and Type Field Description private final BooleanrequestAttributesEnabled
-
Constructor Summary
Constructors Constructor Description LogbackAccessProperties.Tomcat(Boolean requestAttributesEnabled)LogbackAccessProperties.Tomcat()
-
Method Summary
Modifier and Type Method Description final BooleangetRequestAttributesEnabled()Whether to enable the request attributes to work with RemoteIpValve. -
-
Constructor Detail
-
LogbackAccessProperties.Tomcat
LogbackAccessProperties.Tomcat(Boolean requestAttributesEnabled)
-
LogbackAccessProperties.Tomcat
LogbackAccessProperties.Tomcat()
-
-
Method Detail
-
getRequestAttributesEnabled
final Boolean getRequestAttributesEnabled()
Whether to enable the request attributes to work with RemoteIpValve. Defaults to the presence of RemoteIpValve enabled by the property "server.forward-headers-strategy=native".
-
-
-
-