Class RequestResponseLogFilterConfiguration
- java.lang.Object
-
- org.hawaiiframework.logging.config.LoggingFilterProperties
-
- org.hawaiiframework.logging.config.RequestResponseLogFilterConfiguration
-
public class RequestResponseLogFilterConfiguration extends LoggingFilterProperties
Class to hold the configuration properties for the logging filter.- Since:
- 2.0.0
- Author:
- Rutger Lubbers
-
-
Constructor Summary
Constructors Constructor Description RequestResponseLogFilterConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>
getAllowedContentTypes()
Getter for the allowed content types.String
getDirectory()
Getter for the logging directory.String
getMaxLogSize()
Getter for the max log size.Long
getMaxLogSizeInBytes()
Get the log size in bytes.boolean
isFallbackToFile()
Getter for the fallback-to-file flag.void
setAllowedContentTypes(List<String> allowedContentTypes)
Setter for the allowed content types.void
setDirectory(String directory)
Setter for the logging directory.void
setFallbackToFile(boolean fallbackToFile)
Setter for the fallback-to-file flag.void
setMaxLogSize(String maxLogSize)
Setter for the max log size.-
Methods inherited from class org.hawaiiframework.logging.config.LoggingFilterProperties
getOrder, isEnabled, setEnabled, setOrder
-
-
-
-
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
-
-