Class LogbackAccessProperties.Tomcat

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final Boolean getRequestAttributesEnabled() Whether to enable the request attributes to work with RemoteIpValve.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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".