Class RequestResponseLogFilterConfiguration


  • public class RequestResponseLogFilterConfiguration
    extends LoggingFilterProperties
    Class to hold the configuration properties for the logging filter.
    Since:
    2.0.0
    Author:
    Rutger Lubbers
    • Constructor Detail

      • RequestResponseLogFilterConfiguration

        public RequestResponseLogFilterConfiguration()
    • Method Detail

      • isFallbackToFile

        public boolean isFallbackToFile()
        Getter for the fallback-to-file flag.
        Returns:
        the fallback-to-file flag
      • setFallbackToFile

        public void setFallbackToFile​(boolean fallbackToFile)
        Setter for the fallback-to-file flag.
        Parameters:
        fallbackToFile - the fallback-to-file flag
      • getDirectory

        public String getDirectory()
        Getter for the logging directory.
        Returns:
        the logging directory
      • setDirectory

        public void setDirectory​(String directory)
        Setter for the logging directory.
        Parameters:
        directory - the logging directory
      • getMaxLogSize

        public String getMaxLogSize()
        Getter for the max log size.
        Returns:
        the max log size
      • setMaxLogSize

        public void setMaxLogSize​(String maxLogSize)
        Setter for the max log size.
        Parameters:
        maxLogSize - the max log size
      • getMaxLogSizeInBytes

        public Long getMaxLogSizeInBytes()
        Get the log size in bytes.
      • getAllowedContentTypes

        public List<String> getAllowedContentTypes()
        Getter for the allowed content types.
        Returns:
        the allowed content types
      • setAllowedContentTypes

        public void setAllowedContentTypes​(List<String> allowedContentTypes)
        Setter for the allowed content types.
        Parameters:
        allowedContentTypes - the allowed content types